The four phases of a test - Code with Jason
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 #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper