Ever kill a bug only to have it resurface later? How about that last intermittent bug you had to trace down? Looking forward to fixing it again when it pops back up?
If you hate reanimated bugs then this session is for you. In this session, we will discuss the why and the how of building regression testing into your tests using the Codeception testing framework.
Join me, let's hunt some zombie bugs. (Weapons not required)
1. Put an end to regression with
Codeception Testing
Joe Ferguson
2. Who Am I?
Joe Ferguson
PHP Developer
Engineer @ Aol.
Twitter: @JoePFerguson
Organizer of @MemphisPHP
OSMI Board Member
@NomadPHP Lightning Talks
Passionate about Community
19. Bug Report Scenario
User reports that feature “Return Foo” always returns “Bar”
Create a test to ensure that feature “Return Foo” returns “Foo”
See test fails to confirm report or verify there is no bug
Correct your application logic and make your user happy
20. You should not run into
this bug again*
* If you do, you know because you have a test!
73. Recap
Unit tests are important!
Use functional and acceptance suites to test operation of you
applications
Turn every bug report into a regression test so you’ll catch issues
faster
Too many regression tests? Could indicate workflow or UI/UX
issue in your application