Pay attention to me, every day there are high-quality technical articles push, work, study tired when relax yourself.
This article is synchronized with the official wechat account
Welcome to follow my wechat official account: “Drunken Cat”
Hello everyone, I’m Xiaoda. Today I’m going to talk about executing tests, system tests, unit tests and integration tests
Test execution of a simple test process, tweet!
Establish test environment execute test cases record test results report test resultsCopy the code
The system test
What is system testing? System testing tests the entire product system. System testing is carried out to verify whether the system meets the definition of requirements and specifications, and to find out those non-conformance.
System test:
Software that needs to test a production system needs to test the external environment on which the software depends
Test process:
Perform system tests, set up test environments, execute test cases, document test results, report test results, and so on. To perform system tests, the test requirements must meet the test standards.
Establish system test environment
The test environment includes hardware environment and software environment.
For the hardware environment, there are servers, clients, and other auxiliary hardware devices.
The software environment consists of operating system and other application software.
The software environment includes:
Windows 98 SE, Windows 2000 Professional, Windows 2000 Server, Windows XP Home Edition, And Windows XP Professional.
The hardware environment includes:
Mobile hard disk, etc.
1 Hardware Environment
Hardware Quantity CPU 1 Intel Core I5-6300HQ Memory 1 8.00GB graphics card 1 NVIDIA GeForce GTX 960M Hard disk 1 500 GB
2 Software Environment
Software description operating system Windows7 editing tool Mirosoft 2010 compression tool Win RAR screenshot tool built-in browser Google Chrome functional test manual test input method tool Google input method
In general, you need to consider the minimum configuration, common configuration, and ideal configuration.
Software errors are classified into fatal errors, critical errors, minor errors, minor errors, and improvement suggestions.
There are three steps to describe errors: summary, reconstruction steps, and isolation.
Repeat error:
It’s important to document the steps you took to reproduce the error, and the programmer needs to be able to understand what went wrong and fix the program if you tell the programmer what went wrong but don’t point out the problem.
However, the recurrence step is not what you reproduce. The tester needs to carry out all the operations when finding the error. It must ensure that the operation is consistent with the steps and the test environment when the error occurred originally.
Once the exact requirements are met, the error resurfaces.
Management software error
It is very important to manage software errors. For testing work, it is very important to manage software errors. It is necessary to ensure that every found error is handled in a timely manner.
Status of a software error
Software error status, what, status, yes, software error status is written in the documentation, status included, open, assigned, rejected, ignored, fixed, closed, reached closed ok. Simply put, it describes the state of the document, which can be understood literally.
Status report: how many software errors are not closed, how many software errors are closed, and how many software errors are ignored, etc.
Executing unit tests
Unit tests are performed, typically with white-box testing, but also with black-box testing in combination. In unit testing, static testing and dynamic testing are used.
Unit testing consists of two steps:
Static check dynamic trace
Unit testing process: Plan, design, implement, execute, evaluate…
Unit test cases are written according to the design specification of the software,
Perform integration tests
Integration testing is an extension of unit testing.
Integration test process:
If you feel good, you can share oh, your encouragement is my biggest progress!