The concept of testing:
White Box Test
black box Test
Comparison of white box test and black box test
Design of test Cases
In general, the least efficient of all the methods is the random input
Below we mainly introduce performance test , load test and stress test .Efficiency as one of the important quality attributes of the internal and external quality of ISO 9126, which means that, under specified conditions, the SOFTWARE product provides the ability to provide the appropriate performance relative to the amount of resources used. Resources may includ
White box test
Concept: According to the internal structure of the program test procedures, through testing to determine whether the product internal action in accordance with the requirements of the design specifications of the normal, inspection procedures in each of the access to the correct requirements of the work.
Category: White-box testing is based on coverage of the
With the maturity of the software market, people's expectation of the function of software is more and more high, China's software enterprises have become more and more aware of the importance of software testing, and gradually increase the software testing in the entire software development of the proportion of the project.
Software testing is not a single "error-finding" process in traditional sense, but it runs through the process of software, and is a scientific quality control process. And
5.7-factory
The factory allows you to dynamically create tests. For example, suppose you need to create a test method and use it to access a Web page multiple times, each time with different parameters:
public class TestWebServer { @Test(parameters = { "number-of-times" }) public void accessPage(int numberOfTimes) { while (numberOfTimes-- > 0) { // access the web page } }}
Testng. xml:
Once there are to
The test case is prepared for the purpose of performing the test.Setting up the test environment (1) test data: Some tests require the use of large quantities of data, such as capacity testing, stress testing, etc. Depending on the specific testing requirements of the product, it may be necessary to insert large amounts of data into the database tables, prepare
This is a creation in
Article, where the information may have evolved or changed.
Brief introduction
Test
Package testing provides support for automated testing of Go packages. It is intended to being used in concert with the ' Go Test ' command, which automates execution of any function of the form.
TestingThe package provides automated test
1. Reasons for not writing unit tests:1. It takes too much time to write unit tests--write the test code while writing the implementation code2. Run the test too long--separate time-consuming tests from other tests3. Testing the code is not my job--don't expect someone else to clean up your code4. I'm not sure what the code is doing, so it's impossible to test---
51cto college specially sorted out "2014 soft test programmer-General test knowledge point review notes [summary]" in the soft test preparation season to help schools pass through smoothly! For more software proficiency test counseling and questions, please pay attention to the 51cto college-soft exam classification!
[Test] test-related materials and Test-related materials
Some data collection tests are related, and development is inseparable from testing.
Python books
Testing Python python Testing, a comprehensive introduction to python Testing books
Test-Driven Web Development with Python: This is an e-book. Only the Web version
Unit tests:Unit testing is a test of the correctness of a software's basic constituent unit (the smallest unit of software design), such as a function, a process (function,procedure), or a method of a class.Integration testing:Integration testing is based on unit testing, which assembles all modules into subsystems or systems according to the outline design requirements, verifying that post-assembly functions and the interface between modules are prop
51cto college specially sorted out the "2014 soft test programmer-frequent test knowledge point review notes [summary]" in the soft test preparation season to help schools pass more software proficiency test counseling and questions. Please pay attention to 51cto school-soft exam Classification
View Summary2014 soft
Test method: Expression: expressed, expressed[Expression][[Expression]]Test expressionThere are three common conditions tested in bash:1. Integer test:-eq equals-lt less than-ne Not equal to-GT Greater than-le less than or equal to-ge greater than or equal toInteger: Integers integer1=63 integer2=77[$INTEGER 1-eq $INTEGER 2][[$INTEGER 1-eq $INTEGER 2]]
Label:First of all, I would like to explain that the user registration action in the method does not make any judgment can be registered, nothing to consider, even if all is empty, he can register successfully. If you want to write a test case, follow my steps, useraction In The register () method to add some judgment, and in the JSP page to give the corresponding hint, because there are too many loopholes, I wrote only one judgment-if the user name i
For the majority of programmers, stress testing is a step that will never be avoided, just as the test abused me times I'm going to test like my first love under the pressure test of the problem, personal humble opinion, only for reference!!!In general, we develop on the Windows platform, then the development environment is either LNMP or Lamp also some people wi
A project in the process of testing, whether it is the PM or test points are ready to understand the progress of the test, so that the time to control the project. And the test in the process of the test is performed by the test case, then the degree of execution of the use
Original address
Test students ' daily routine:~ Every time a failure, the boss will always ask, how do you measure this.~ Delivery delay, release time is unchanged, only the compression is the test time. How to do, overtime to fill it.~ The test environment is dead again.~ You can't refactor a few times less. Every refactoring has to go back to all the feat
Web Test Essentialsfirst, the function Test1, Link testing(1), test that all links are actually linked to the linked page as instructed;(2), test whether the linked page exists;(3), guaranteeWebThere are no orphaned pages on the application system(The so-called orphaned page refers to the page without a link, only knowing the correctURLAddress to access). 2, form
* * has been doing web testing, a new job new start, decided to try new tests, so chose a never touch app test.How to say, for the people who do the Web test, the app really does not have a bit of difficulty ... The test process is the same, the test method is similar, the difference is that the app test seems to be le
!!!1. Calculate the unit test time when estimating and making the project plan2. Write unit test code before developmentWhen the house is built, the workers ' master walls will first be put on the line with a stake, so that the bricks can be erected straight, because the base bricks are based on this line. TDD is like this, first write the test code, just like th
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.