Best practices for automated testing
1. The goal of automated testing should be as specific as possible, not something like "do better to save time".
two。 The goal of automated testing should be distinguished from that of software testing. Automation is a way to run tests, whether the tests are good or bad.
3. With the development of agile development, the architecture of test pieces is particularly important. People can be divided into automated test architects, automated testers and ordinary testers. Ordinary testers do not have to have programming experience. Automation testers perform automation to achieve testing. Architects choose the appropriate framework for automated testing and can modify the framework according to requirements.
Experience of case one:
1.TDD is a good idea, but it is difficult for the whole team to implement it.
two。 The unit test and the GUI smoke test for each new user story are completed in an iteration
3. Test cases at the test fixture level are required to test whether the data after input has been processed to achieve the expected output.