O'Reilly logo

Process Quality Assurance for UML-Based Projects by Bhuvan Unhelkar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6.6. Test Cases

Test cases are the atomic or smallest units of testing. They form part of test designs. They are created based on test approaches (automated versus manual), are part of test architecture (some are unit tests, others deal with the component), and contain inputs, steps, and expected output.

6.6.1. Description of Test Cases

The basic purpose of a test case is to test a single element within a component. This single element can be a class or it can be a function within a class. In order to accomplish this, a test case has to provide a set of input data and parameters, the steps that are needed in order to execute the tests, and the expected results.

In large or complex projects, test cases may also be generated automatically. They ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required