summaryrefslogblamecommitdiffstats
path: root/spec/spec/test-case.yml
blob: 614bb98ee0ac0517af983052f3b546366a85a8f0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                         
                   

                                        
                 


                                                      
                       


                                                
                    
                      


                                                                            
                               
                   
                      


                                                                              
                               


                              
                    


                                                                             
                          


                                                                             
                    
                      



                                                                              
                               
                   
                      

                                                                               
                               
                  




                                                                             
                             


                              
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
links:
- role: spec-member
  uid: root
- role: spec-refinement
  spec-key: type
  spec-value: test-case
  uid: root
spec-description: null
spec-example: null
spec-info:
  dict:
    attributes:
      test-actions:
        description: null
        spec-type: test-case-action-list
      test-brief:
        description: |
          It shall be the test case brief description.
        spec-type: str
      test-description:
        description: |
          It shall be the test case description.
        spec-type: optional-str
      test-epilogue:
        description: |
          If the value is present, then it shall be the test case epilogue
          code.  The epilogue code is placed in the test case body after the
          test case actions.
        spec-type: optional-str
      test-fixture:
        description: |
          If the value is present, then it shall be a pointer to the test case
          fixture.  The test case fixture pointer declaration may be provided
          by the test case support code or via an included header file.
        spec-type: optional-str
      test-header:
        description: null
        spec-type: test-header
      test-includes:
        description: |
          It shall be a list of header files included via ``#include <...>``.
        spec-type: list-str
      test-local-includes:
        description: |
          It shall be a list of header files included via ``#include "..."``.
        spec-type: list-str
      test-prologue:
        description: |
          If the value is present, then it shall be the test case prologue
          code.  The prologue code is placed in the test case body before the
          test case actions.  A use case is the declaration of local variables
          used by the test case actions.
        spec-type: optional-str
      test-support:
        description: |
          If the value is present, then it shall be the test case support code.
          The support code is placed at file scope before the test case code.
        spec-type: optional-str
      test-target:
        description: |
          It shall be the path to the generated target test case source file.
        spec-type: str
    description: |
      This set of attributes specifies a test case.
    mandatory-attributes: all
spec-name: Test Case Item Type
spec-type: test-case
type: spec