Part I. Getting started

Part II. UML modeling

Part III. Project glossary

Part IV. BPMN toolset

Part V. Project management

Part VI. Modeling toolset

Part VII. ArchiMate tools

Part VIII. Team collaboration

Part IX. Code engineering

Part X. Database design and engineering

Part XI. Advanced modeling toolset

Part XII. Document production

Part XIII. Business modeling

Part XIV. Business rule

Part XV. Agile development

Part XVI. Wireframe

Part XVII. Impact analysis

Part XVIII. CMMN toolset

Part XIX. SoaML modeling

Part XX. Design animation

Part XXI. IDE Integration

Part XXII. Interoperability and integration

Part XXIII. Process simulation

Part XXIV. Zachman and BMM

Part XXV. Appendix A - Application Options

Part XXVI. Appendix B - Project Options

Part XXVII. Appendix C

 

How to Document Test Cases (SysML)?

A SysML test case defines the scenario with which requirement(s) can be tested. In this article you will learn how to model test cases.

Produce test case from requirement

  1. In a SysML requirement diagram, move your mouse pointer over a requirement that you want to produce Test Case.
  2. Press on the Resource Catalog button at top right and drag it out.
  3. Release the mouse button at the place where you want the test case (shape) to be created.
  4. Select Verify <- Test Case from Resource Catalog.
  5. Release the mouse button to create a test case. Name it.
    Test case is created
    Test case is created

Creating test case and link to requirement

  1. In a requirement diagram, click the Test Case button on the diagram toolbar and then click on the diagram to create a Test Case.
  2. Move your mouse pointer to the Test Case.
  3. Press on the Resource Catalog button at top right and drag it out.
  4. Move the mouse pointer over a Requirement and then release the mouse button, a Verify relationship will be created from the Test Case to the Requirement.
    Verify relationship created
    Verify relationship created

Documenting test case

  1. Right click on a test case and select Open Specification... from the popup.

    Open specification of test case
  2. In the Test Plans tab, fill in the Steps, Procedures and Expected Results.
    Test Plan filled
    Test Plan filled

Related Resources

The following resources may help you to learn more about the topic discussed in this page.

 
2. Customizing requirement types Table of Contents 4. Record and document software requirements in Requirement List

We use cookies to offer you a better experience. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.OK