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
- Add test
- Watch Test Fail
- Write Code
- Run Tests
- Refractor
- 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.
0 Comments