Søren Houen chce zrobić o tym prezentację
How we test
I gave a short lightning version of this at the 07.03.24 meetup. I would like to expand it into a full talk with more examples, considerations, and elaborations on "it depends".
Basically it is about what I consider good advice when doing Rails testing, for example:
- Test the real thing as much as possible
- Test is code. Code is debt
- What is an efficient test?
- How to write a good test
- Given, When, Then
- Tests paths: Happy and sad
- Alternative test: Test one product concern
- Why I prefer Minitest over RSpec
- Example of an absolute train wreck of a test