One test per question, each writing and asserting its own transcript under output/. Covers lifecycle, extensions, parameterized and dynamic tests, mocks vs spies, verification, strict stubs, static and constructor mocking, and flaky tests. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01CifR2BE7PBvRy5hT8TS9oz
12 lines
391 B
Bash
Executable File
12 lines
391 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Regenerates every file in output/ (one per interview question).
|
|
# Requires JDK 25 and Maven. The first run must be online so Maven can fetch plugins and dependencies.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
unset JAVA_TOOL_OPTIONS
|
|
rm -f output/q*.txt
|
|
mvn -B -q test
|
|
./scripts/compare-5-vs-6.sh
|
|
./scripts/no-agent.sh
|
|
echo "done: $(ls output | wc -l) files in output/"
|