The so-called "to do something better, you must first sharpen the tool". The testing method is the weapon required by the tester. Below are some of my ignorance about the testing method.
Scientific Discovery Methods: Applicable to All science, including formal logic and dialectics, and high utilization rate for testing complex systems;
Software Testing Method: Test methods applicable to all software, such as equivalence classes, boundary values, decision tables, and status charts;
Test object implementation: The specific method used for testing each test object. Each type of object needs to be tested according to their own characteristics. For specific test objects, we must know what to test? How to test? The bottom layer is what we will consider in this article. The following is an example of device driver testing.
For example, the following ATM Device Driver lists the specific test points, and each test point should find their test rules, which is what every tester needs to do.
1. Communication
Directly connect to the serial port, connect to the serial port board, and disconnect the communication line.
2. Data Maintenance
If the user deposits 1000 yuan, the data records of the Movement cash box must be consistent.
3. Status transition
The printing paper of the striped printer is normal and few, and the state conversion test case between none must overwrite them.
4. troubleshooting
Error Codes, events, log records, and hardware reset to restore factory values.
5. Hybrid device coordination
Consider two associated devices as one device or divide a device into two interfaces. Either change or change must be appropriate.
6. Unique hardware features
For example, card readers only need to test the function of reading and writing bank cards. The main feature of hardware is the most critical aspect of device driver testing.
7. Performance Testing
Command response speed, for example, whether the time required for a banknote is signed or not.
8. Stress Testing
Repeat a loop for n times based on hardware functions, such as a regular cycle process such as card reader, card entry, card reading, and card return.