Job Description
Project Overview
I have a small Java calculator console application and need help completing and fixing its test cases.
Some tests are already written, and I also have notes describing:
- Which test cases are missing
- What changes were recently made to the program
Your task will be to complete the remaining tests, update the existing ones where necessary, and ensure the application behaves correctly.
Application Description
The program is a simple calculator that:
- Accepts two numbers and an operator from the command line
- Performs the calculation
- Displays helpful error messages when the input is incorrect
The error messages should clearly explain:
- What the issue is
- Where the issue occurred in the input
What Needs to Be Done
- Review the existing test cases
- Add missing tests
- Update tests based on recent code changes
- Run all tests and ensure they pass
- Verify handling of:
- Valid inputs
- Invalid numbers
- Invalid operators
- Missing arguments
- Incorrect formats
Requirements
- Experience with Java
- Experience writing unit tests (JUnit preferred)
- Ability to quickly understand small projects
- Attention to detail when testing edge cases
Project Size
This is a very small project, and the task should be quick for someone experienced with Java testing.
Goal
By the end of the task:
Input validation is fully covered
All required tests are implemented
Existing tests are updated
Everything runs successfully