Keywords: automation, testing, functional testing
The goal of the test is two: "Identify problems in the system" and "prove that the system can meet the needs of the user."
Automated testing refers not only to a tool, but also to a test technique, which is a combination of tools, processes, people, and methods.
Current status of the test testing is dead
- Development Speed First Quality second
- The new Agile development model
- Developer skills are getting higher
- The role of testing in the development process is becoming smaller
- Design and frame defects are more important
Agile development emphasizes early testing, automated testing, continuous testing
The difficulty of automated testing
1. Script amount, maintainability of script
2. Management and maintenance of test data
3. Test environment
Advantages of automated Testing:
* Speed up the test schedule and speed up the product release schedule;
* More Tests;
* Reduce testing costs by reducing manual testing;
* Improve test coverage;
* Ensure consistency;
* Improve the reliability of testing;
* Test work can be done by the test personnel who are not strong in technical ability;
* Define test procedures to avoid excessive reliance on individuals;
* testing becomes more interesting;
* Improved programming skills;
Automated test methods:
Recording and playback technology;
scripting technology;
Data-driven technology;
Keyword-driven technology;
Business-driven technology.
Automated test steps:
- An automated test requirement to describe what needs to be tested.
- Regression testing is the most appropriate step to adopt automated testing.
- API interfaces and command-line interfaces are easier to automate than GUI interfaces, starting automated test projects as early as possible and proposing testability requirements.
- Automated testing is a long-term process that requires constant maintenance and expansion in order to be consistent with the functionality of the new version of the product and other relevant modifications.
- Some people question the validity of your test, so you have to consider whether you should dig out more rigorous testing to be able to identify defects in the product that developers have optimized.
Tips:
If the constant test requirements and the change of the test implementation mixed together, it will change the test implementation into Test noise, increase the amount of unnecessary changes later.
Reference
Testing is Dead-long Live testing.pdf
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Automated testing in the new development model