Model used when creating tests
Arrange -> Configuration of the information necessary to run the tests.
Act -> Calling the methods configured in the first step to execute the test
Assert -> It is the test verification. This is the part where we inform what method will be used to validate the test and whether the expected result was achieved.
Consultation material: https://medium.com/@pablodarde/o-padr%C3%A3o-triple-a-arrange-act-assert-741e2a94cf88
example code using .net 7: https://github.com/RafaelaNasciment/UnitTestExample
Top comments (0)