MONDAY
Project behavior and your first meaningful test
CAN-DO
I can connect an Issue to a branch, write a failing JUnit 5 test for observable CLI behavior, make it pass, and explain the compilation/test feedback loop.
USE THESE SOURCES
WHAT YOU DO
- Retrieve one prior concept before opening notes, then read and predict the official examples.
- Open the story: As an instructor, I can run gradebook and see its version banner.
- Replace the setup placeholder with a meaningful failing test before writing the behavior.
- Make the CLI print one exact version line and exit successfully; delegate formatting instead of placing every decision in main.
- Write an explain-back covering compilation, execution, JUnit, and why your first test failed.
WHAT YOU KEEP
- Linked Issue, branch, red commit, green commit, and pull request
- Maven Wrapper test output
- Your prediction, corrected misconception, and explain-back
YOUR CHOICE
You choose the command name, exact version text, class names, and editor. Keep the user-visible line deterministic and place behavior where you can test it without depending on terminal styling.
CHECK BEFORE YOU MOVE ON
- The first meaningful test fails for the intended missing behavior before the implementation commit exists.
- The Wrapper test passes locally and the Issue, branch, commits, and pull request link to one another.