Quick Dirty Disposable automation
Here are some interesting things that I have tried recently changing the way automation is done traditionally.
What to automate?
- The most difficult question though it sounds pretty straight forward
- If you already have manual tests have your battle is won
- If not run through the most used features / easily broken
- Take leads from the sitemaps / access logs / Roles / analytics and access statistics
- Biggest challenge is always maintenance , categorise tests into essential features and generic
- What we also categorise tests into are " will there be an upgrade or not?" - so we have two sets quick dirty disposable tests and well designed unbreakable tests.
- Everything flows from QDD to WDU tests
- The first script is always a bootstrap script that will have the initialization parameters in place
The advantages:
- If the tests are just required for an upgrade then why make the tests so stable, quick brittle tests should do
- Number of automated tests churned in a day much higher than usual
- The QDD (Quick Dirty Disposable) tests are actually not disposed but used later if required to convert them to WDU tests
- Manual testers can use these tests which will give them the time to actually concentrate on the core functionality being tested
This definitely doesn't mean that we have the license for bad automation practices.Do not spend time to write quick and dirty tests for applications with a long lifespan.
Comments
Post a Comment