Informations-Portal über das internationale Marktangebot im Bereich Softwaretest-Werkzeuge
Dieses Tool in anderen Sprachen:
A picture’s worth a 1000 tests.
Unit testing asserts can be difficult to use. Approval tests simplify this by taking a snapshot of the results, and confirming that they have not changed.
In normal unit testing, you say assertEquals(5, person.getAge())
. Approvals allow you to do this when the thing that you want to assert is no longer a primitive but a complex object. For example, you can say, Approvals.verify(person).
Neueste Kommentare
20.12.2022 von Robert Heine
14.08.2021 von Achim
03.02.2021 von Martin Varendorff
03.02.2021 von Martin Varendorff
12.11.2020 von Sarah