Test Automation

Test Automation primer

(Things to consider)

  • Commitment to development.
  • Cost
  • QA resource
  • Expectation

Why we need to automate?

  • Saves time and money
  • Improves accuracy
  • Increase test coverage
  • Does what manual testing can't cover.
  • Assists developers.
Test Driven Development
 
  1. Add test
  2. Watch Test Fail
  3. Write Code
  4. Run Tests
  5. Refractor
  6. Repeat 1
Best Practice
  • Setup - Put the Unit Under Test (UUT) or the overall test system in the state needed to run the test.
  • Execution - Trigger / driver the UUT to perform the target behavior and capture all output.
  • Validation - Ensure the results of the test are correct.
  • Cleanup - Restore the UUT or the overall test system to the pre-test  state
Why TDD (Test Driven Development)?
  • Baby steps when writing software.
  • Speed.
Agility.

Post a Comment

Previous Post Next Post