Test Driven Development (TDD)
- Pascal Wolf
- 30. Apr. 2016
- 1 Min. Lesezeit
Hey guys,
with this homework we started the test driven development.
We first tried this with a simple test project - a calculator with the basic arithmetic operations.
For this we created two classes. "calc" and "calctest"
In "calctest" we initialied "calc" and an extra test-method for every operation.
From those test-methods the main "calc"-methods can easily be created.
Now all that had to be done was code the logic for the operations, which is barely necessary to mention, because it's only including the operator.
With that we started the tests and every case passed.
After that we tried to do the same thing with out gradle file, but that has not worked yet.
Greetings
TSWL
Kommentare