Back to Browse

Improving Development with Context-Based Testing

46 views
Oct 18, 2022
1:04:43

It’s very common for developers to follow a “one test fixture per class/component” approach; that is, one file containing all of the tests that verify a given class or component. Then a new bug report comes in, the fix is a simple one-liner, but it requires 50 new lines of test code. There’s also a new feature that’s supposed to be easy to implement, but tests for it are hard to write, because the test files are too messy. In both cases, the tendency is to simply ignore the tests, write the code, and call it done. In this talk, Claudio Lassala demonstrates us context-based testing as an approach to organizing tests, making them easier to read, write, and maintain. It works for many types of tests, such as unit, integration, and end-to-end. And it keeps both developers and the business happy!

Download

1 formats

Video Formats

360pmp484.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Improving Development with Context-Based Testing | NatokHD