The four phases of a test - Code with Jason
28-Apr-2022 1194
When writing tests, or reading other people’s tests, it can be helpful to understand that tests are often structured in four distinct phases.These phases are:SetupExerciseAssertionTeardownLet’s illustrate these four phases using an example.
The four phases of a test - Code with Jason #ruby #rubydeveloper #rubyonrails #phases #Jason #code #test https://rubyonrails.ba/link/the-four-phases-of-a-test-code-with-jason