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 #rubydeveloper #rubyonrails #code #test https://rubyonrails.ba/single/the-four-phases-of-a-test-code-with-jason

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles