Testing anti-pattern: merged setup data - Code with Jason
24-May-2024 464
In a single test file, there’s often overlap among the setup data needed for the tests in the file. For whatever reasons, perhaps in an effort to improve performance or avoid duplication, test writers often merge the setup code and bring it to the top of the file so it’s available to all test cases.
Testing anti-pattern: merged setup data - Code with Jason #ruby #rubydeveloper #rubyonrails #Testing #anti-pattern: #merged #setup #Jason #code #testing https://rubyonrails.ba/link/testing-anti-pattern-merged-setup-data-code-with-jason