Bug Hunt Exercise¶
In this assignment you'll practice finding defects in a small command-line application and documenting them using the standard bug report template. The goal is to sharpen your eye for issues and to provide clear, reproducible reports your teammates can act on.
Objectives¶
- Locate real bugs. Explore a purposely flawed CLI app and identify at least two defects.
- Write clear reports. Capture each issue using the bug report template.
- Provide evidence. Include screenshots or log snippets that prove the bug exists.
Setup¶
- Clone the sample repository:
git clone https://github.com/innovation-studio/buggy-cli-example.git cd buggy-cli-example - Review the
README.mdfor any required dependencies and install them. - Run the program with typical commands to see how it behaves.
Instructions¶
- Test the CLI features one by one. Note any crashes, incorrect output, or unexpected behavior.
- For each issue you uncover:
- Copy
bug_report_template.mdfrom thecommon_assets/templatesfolder into your project. - Fill in the details—environment, steps to reproduce, expected vs. actual results, and severity.
- Save screenshots or logs that illustrate the problem and reference them in the report.
- Save each report as
bug_report_<short-title>.mdinside aBUG_REPORTSdirectory in the repo. - Repeat until you have documented at least two distinct bugs.
- Commit your reports and screenshots to a new branch and push to your fork.
flowchart LR
A[Clone repo] --> B[Run CLI app]
B --> C[Find a bug]
C --> D[Document using template]
D --> E[Commit reports & screenshots]
E --> F[Open pull request]
Deliverables¶
- At least two completed bug report files in
BUG_REPORTS/. - Supporting images or log files showing each issue.
- A short summary in your pull request describing the defects found.
Submission¶
Push your branch to GitHub and open a pull request. Reviewers will compare your reports to the example in sample bug reports and verify the issues are reproducible. Be prepared to discuss how you discovered each bug during the next stand‑up meeting.