No votes yet.
Please wait...

A test case is the main component of dynamic testing as it is generated based on dynamic data flow analysis. In fact, the stage of system testing is hardly anything more than just running test cases on some software apps developed sequentially in order to detect and fix defects. This means that the primary responsibility of the testing specialist is to write and run test cases. Now we are going to discuss how to design and create high-quality test cases.

As we know, software testing is a process of analyzing or executing software to identify defects. A test is a set of operations designed to obtain one or more expected results from a certain software system. If all expected results are received, it is considered that the test has passed (i.e., completed successfully). If the actual result differs from the expected one, it is considered that the test has failed (i.e. completed unsuccessfully).

The first thing to note in the above definition is that each test consists of two components: (1) the totality of the actions you perform and (2) the sequence of events that must occur as a result of these actions. The performed actions are test actions, which together constitute a test technique. The sequence of events that result from these actions are called expected results. To ensure that the test will be effective, both the methodology and the expected results should be clearly and unambiguously defined. Testing software services are needed to check software products for all kinds of shortcomings before they go live.

Secondly, if a testing methodology and expected results are correctly determined, the test should yield a result, evaluating which one can draw an unambiguous conclusion about whether the test is successful or unsuccessful. When you enter two numbers in the program to find their sum, the test is considered passed if the correct result is obtained from the output of the program; otherwise the test is considered failed.

For convenience sake, tests can be further broken down into test cases. If some test requires a continuous testing technique with many expected results, it makes sense to break this test into test cases. However, it should be borne in mind that the test case is the smallest test unit, and that at least one expected result must be associated with each test case.

Owing to the fact that the goal of testing is to catch defects, a good test is a test that has high probability of detecting a defect. In order to design a test with a high probability of detecting a defect the testing specialist must enter upon the way to constructively destruct the software product.

Related Post

Comments are closed.