EDUCATION Repository
Examples:
- Calculator Example
- Loan Calculator Example
- Distance Example
- Tick Vaccination Adviser Example
- Stack Example
- Queue Example
all Exercises includes basic implementation to exercise test automation with test framework JUnit. The order of exercises represents the complexity of each exercise. First Exercises includes more information and step-by-step guidelines.
Graphics are visual impressions for easier understanding for this exercises and will not be part of the exercises.
Easy Starting Exercise with first running Test and pre-defined Test-Cases. Try to test basic math operations.
Calculates monthly repayment, total cost and interest cost for a multi-year credit with a fixed yearly interest rate. Test methods are already predefined (but without step-by-step instructions)
Popular High-School example with coordinate system to determine distance between two Points. Pre-Defined Test-Cases with Test-Instruction supports for creating next Test Code.
Advises when to get the next vaccination against ticks. This example uses date classes from the JAVA SDK. Test methods are already predefined (but without step-by-step instructions)
In computer science, a stack is an abstract data type that serves as a collection of elements, with two principal operations:
- push, which adds an element to the collection
- pop, which removes the most recently added element that was not yet removed.
Some Test-Cases are pre-defined, but others has to be designed by yourself.
A queue is another abstract data type that also serves as a collection of elements, with two principal operations:
- enqueue (offer), which adds an element to the collection
- dequeue (poll), which removes the first added element
There are no Test-Cases defined, so you have to design your own Test-Cases the first time. This Example also includes some Bugs, which has to be founded by Debugging in your IDE