My view on the country difference of functional testing _ test

Source: Internet
Author: User

As an important phase of black box testing, functional testing is undoubtedly indispensable. There are a number of topics related to functional testing, whether they are in the form of tests, such as manual and automated tests, or test methods, such as data-driven and keyword-driven, with a wide range of research articles. My Bovenri is going to discuss the difference of the functional test from different country's angle, the original article may have some wrong place, ask the reader to criticize.

Japanese-style routine

The Japanese impression of the rest of the world is to do things seriously, treat the problem meticulous, made a mistake according to the severity of the kneeling kneeling, the laparotomy. Their consistent approach to the software industry, and the software industry Moore's Law, technology changes, the code, the framework of the changing, seems to be incompatible with their character. Japanese-made things have always been known for their rugged durability, give me the deepest image of a detail is that when working in Japan, found that their garbage bags incredibly strong, used to go shopping in supermarkets to carry heavy objects is also repeatedly used not bad. However, for the computer industry, which obeys Moore's law, devoting a lot of effort to discovering bugs as much as possible and solving the problem is really a question that needs to be questioned.

But the in spite of this, the Japanese companies to adopt test case design is still very worthy of our study, which is the first to mention the analysis method (online some of the fish bone map equivalent to the analysis method, I do not agree with this, the following will be detailed).

The essence of the analytic method is to determine the test case by using a two-dimensional combination of the characteristics of the product as a factor, with the different performance of the characteristic (according to the Equivalence class division, boundary value analysis, etc.) as the state.

Let me give a simple example of "I'm going to Beijing from Nanjing" to illustrate.

Table 1

This is a simple list, and it's worth noting that the determination of factors and states is a must-have scope, which in this case is the scope of "normal thinking". For example, "Traffic mode" I did not write "walk", because this is not in line with ordinary people from Nanjing to Beijing thinking way, of course, in order to challenge the Guinness Book of Records, here to walk the way from Nanjing to Beijing, then the state to add this is obviously possible.

In addition, another implicit determination of factors and states for detail, how to grasp this degree, we can understand from the following table:

Table 2

Table 2 further refine the "mode of traffic" in table 1, at which point the choice of state will be further increased. If the requirement for more detail, such as the factor for "bullet train", then you can add the status of "first-class" and "second-class", this combination is flexible, depending on the level of detail I need.

To be determined, that is the combination, as shown in table 1, for example, the two-dimensional combination has the following total of 18:

Aircraft-clear-daytime, airplane-rain-daytime, plane-snow-day, plane-clear-night, plane-rain-night, plane-snow-night

Train-sunny-day, train-rain-day, train-snow-day, train-clear-night, train-rain-night, train-snow-night

Car-sunny-daytime, car-rain-daytime, car-snow-day, car-sunny-night, car-rain-night, car-snow-night

For table 2, two-dimensional combination of 2*4*2*3*2=96 species, seemingly a bit more, of course, you want to analyze the more detailed, then the combination of the amount of natural will increase accordingly.

Return to the 18 use cases that are derived from table 1, if I pass the condition is from Nanjing to Beijing the shorter the better, in the actual external environment (such as sunny, expected to spend a limit), in these 18 use cases, there will be some test pass, some test failure. In different actual external environment, the test pass situation will change (for example, in the snow, the aircraft will have a shift delay).

......

This article is reproduced from the 51Testing Software test Network, view the full text: http://www.51testing.com/html/43/n-246043.html

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.