| Both sides previous revision Previous revision | |
| public:99_annexes:annex-b-terms-and-definitions:t:test_case [2026/09/12 17:42] – ↷ Page moved from private:99_annexes:annex-b-terms-and-definitions:t:test_case to public:99_annexes:annex-b-terms-and-definitions:t:test_case nick_dido | public:99_annexes:annex-b-terms-and-definitions:t:test_case [2026/09/12 17:43] (current) – ↷ Links adapted because of a move operation nick_dido |
|---|
| ====== Test Case ====== | ====== Test Case ====== |
| |
| [[private:99_annexes:annex-b-terms-and-definitions:start|Go up to Terms and Definitions]] | [[public:99_annexes:annex-b-terms-and-definitions:start|Go up to Terms and Definitions]] |
| |
| ===== Discussion ===== | ===== Discussion ===== |
| |
| A Test Case specifies the [[private:99_annexes:annex-b-terms-and-definitions:t:test_step|Test Steps]] and [[private:99_annexes:annex-b-terms-and-definitions:e:expected_result|Expected Results]] used to verify a defined subject. | A Test Case specifies the [[public:99_annexes:annex-b-terms-and-definitions:t:test_step|Test Steps]] and [[public:99_annexes:annex-b-terms-and-definitions:e:expected_result|Expected Results]] used to verify a defined subject. |
| |
| As a [[private:99_annexes:annex-b-terms-and-definitions:s:sequenced_test_object|Sequenced Test Object]], a Test Case can contain or reference a [[private:99_annexes:annex-b-terms-and-definitions:t:test_sequence|Test Sequence]]. The Test Sequence establishes the order and progression of the [[private:99_annexes:annex-b-terms-and-definitions:s:sequence_step|Sequence Steps]] associated with the Test Case. | As a [[public:99_annexes:annex-b-terms-and-definitions:s:sequenced_test_object|Sequenced Test Object]], a Test Case can contain or reference a [[public:99_annexes:annex-b-terms-and-definitions:t:test_sequence|Test Sequence]]. The Test Sequence establishes the order and progression of the [[public:99_annexes:annex-b-terms-and-definitions:s:sequence_step|Sequence Steps]] associated with the Test Case. |
| |
| A Test Case can identify: | A Test Case can identify: |
| * Its identity | * Its identity |
| * Its name | * Its name |
| * Its [[private:99_annexes:annex-b-terms-and-definitions:t:test_purpose|Test Purpose]] | * Its [[public:99_annexes:annex-b-terms-and-definitions:t:test_purpose|Test Purpose]] |
| * Its version | * Its version |
| * The subject being verified | * The subject being verified |
| * The applicable [[private:99_annexes:annex-b-terms-and-definitions:t:test_item|Test Items]] | * The applicable [[public:99_annexes:annex-b-terms-and-definitions:t:test_item|Test Items]] |
| * The applicable [[private:99_annexes:annex-b-terms-and-definitions:s:system_under_test|System Under Test]] | * The applicable [[public:99_annexes:annex-b-terms-and-definitions:s:system_under_test|System Under Test]] |
| * The applicable [[private:99_annexes:annex-b-terms-and-definitions:t:test_environment|Test Environments]] | * The applicable [[public:99_annexes:annex-b-terms-and-definitions:t:test_environment|Test Environments]] |
| * The applicable Test Sequence | * The applicable Test Sequence |
| * The applicable Test Steps | * The applicable Test Steps |
| * The applicable [[private:99_annexes:annex-b-terms-and-definitions:t:test_executable|Test Executables]] | * The applicable [[public:99_annexes:annex-b-terms-and-definitions:t:test_executable|Test Executables]] |
| * The applicable Test Arguments | * The applicable Test Arguments |
| * The applicable Test Argument Values | * The applicable Test Argument Values |
| * The applicable completion conditions | * The applicable completion conditions |
| * The applicable evaluation criteria | * The applicable evaluation criteria |
| * The applicable [[private:99_annexes:annex-b-terms-and-definitions:g:governance_policy|Governance Policies]] | * The applicable [[public:99_annexes:annex-b-terms-and-definitions:g:governance_policy|Governance Policies]] |
| * Its [[private:99_annexes:annex-b-terms-and-definitions:p:provenance|Provenance]] | * Its [[public:99_annexes:annex-b-terms-and-definitions:p:provenance|Provenance]] |
| * Its [[private:99_annexes:annex-b-terms-and-definitions:t:traceability|Traceability]] | * Its [[public:99_annexes:annex-b-terms-and-definitions:t:traceability|Traceability]] |
| |
| A Test Case can participate in one or more [[private:99_annexes:annex-b-terms-and-definitions:t:test_set|Test Sets]]. | A Test Case can participate in one or more [[public:99_annexes:annex-b-terms-and-definitions:t:test_set|Test Sets]]. |
| |
| A Test Case can reference reusable Test Steps and Test Executables without containing copies of them. Each [[private:99_annexes:annex-b-terms-and-definitions:s:sequence_step|Sequence Step]] identifies the occurrence of a Test Step or Test Executable within the Test Sequence. | A Test Case can reference reusable Test Steps and Test Executables without containing copies of them. Each [[public:99_annexes:annex-b-terms-and-definitions:s:sequence_step|Sequence Step]] identifies the occurrence of a Test Step or Test Executable within the Test Sequence. |
| |
| ===== Definition ===== | ===== Definition ===== |
| |
| //[[private:99_annexes:annex-b-terms-and-definitions:s:sequenced_test_object|Sequenced Test Object]] that specifies the [[private:99_annexes:annex-b-terms-and-definitions:t:test_step|Test Steps]] and [[private:99_annexes:annex-b-terms-and-definitions:e:expected_result|Expected Results]] used to verify a defined subject// | //[[public:99_annexes:annex-b-terms-and-definitions:s:sequenced_test_object|Sequenced Test Object]] that specifies the [[public:99_annexes:annex-b-terms-and-definitions:t:test_step|Test Steps]] and [[public:99_annexes:annex-b-terms-and-definitions:e:expected_result|Expected Results]] used to verify a defined subject// |
| |
| ===== Source ===== | ===== Source ===== |
| |
| * [[https://www.omg.org/spec/TestIF/1.0/Beta3/PDF|OMG Test Information Interchange Format (TestIF), Version 1.0 Beta 3, Section 7.3.5, TestCase]] | * [[https://www.omg.org/spec/TestIF/1.0/Beta3/PDF|OMG Test Information Interchange Format (TestIF), Version 1.0 Beta 3, Section 7.3.5, TestCase]] |
| * [[private:99_annexes:annex-b-terms-and-definitions:t:test_object|Test Object]] | * [[public:99_annexes:annex-b-terms-and-definitions:t:test_object|Test Object]] |
| * [[private:99_annexes:annex-b-terms-and-definitions:s:sequenced_test_object|Sequenced Test Object]] | * [[public:99_annexes:annex-b-terms-and-definitions:s:sequenced_test_object|Sequenced Test Object]] |
| * [[private:99_annexes:annex-b-terms-and-definitions:t:test_set|Test Set]] | * [[public:99_annexes:annex-b-terms-and-definitions:t:test_set|Test Set]] |
| * [[private:99_annexes:annex-b-terms-and-definitions:t:test_step|Test Step]] | * [[public:99_annexes:annex-b-terms-and-definitions:t:test_step|Test Step]] |
| * [[private:99_annexes:annex-b-terms-and-definitions:t:test_sequence|Test Sequence]] | * [[public:99_annexes:annex-b-terms-and-definitions:t:test_sequence|Test Sequence]] |
| * [[private:99_annexes:annex-b-terms-and-definitions:e:expected_result|Expected Result]] | * [[public:99_annexes:annex-b-terms-and-definitions:e:expected_result|Expected Result]] |
| * DIDO Reference Implementation Conceptual Model | * DIDO Reference Implementation Conceptual Model |
| * DIDO-TE draft Requirements Register | * DIDO-TE draft Requirements Register |
| ===== Note ===== | ===== Note ===== |
| |
| Every Test Case is a [[private:99_annexes:annex-b-terms-and-definitions:s:sequenced_test_object|Sequenced Test Object]] and therefore a [[private:99_annexes:annex-b-terms-and-definitions:t:test_object|Test Object]]. | Every Test Case is a [[public:99_annexes:annex-b-terms-and-definitions:s:sequenced_test_object|Sequenced Test Object]] and therefore a [[public:99_annexes:annex-b-terms-and-definitions:t:test_object|Test Object]]. |
| |
| A Test Case differs from a [[private:99_annexes:annex-b-terms-and-definitions:t:test_set|Test Set]]: | A Test Case differs from a [[public:99_annexes:annex-b-terms-and-definitions:t:test_set|Test Set]]: |
| |
| * A Test Case specifies the Test Steps and Expected Results used to verify a defined subject | * A Test Case specifies the Test Steps and Expected Results used to verify a defined subject |
| * A Test Set groups related Test Objects for a defined Test Purpose | * A Test Set groups related Test Objects for a defined Test Purpose |
| |
| A Test Case differs from a [[private:99_annexes:annex-b-terms-and-definitions:t:test_step|Test Step]]: | A Test Case differs from a [[public:99_annexes:annex-b-terms-and-definitions:t:test_step|Test Step]]: |
| |
| * A Test Case identifies the complete verification unit | * A Test Case identifies the complete verification unit |
| * A Test Step identifies one action or validation performed as part of a Test Sequence | * A Test Step identifies one action or validation performed as part of a Test Sequence |
| |
| A Test Case differs from a [[private:99_annexes:annex-b-terms-and-definitions:t:test_executable|Test Executable]]: | A Test Case differs from a [[public:99_annexes:annex-b-terms-and-definitions:t:test_executable|Test Executable]]: |
| |
| * A Test Case specifies what the Test verifies | * A Test Case specifies what the Test verifies |
| * A Test Executable contains or references low-level procedural or executable information used for automated [[private:99_annexes:annex-b-terms-and-definitions:t:test_execution|Test Execution]] | * A Test Executable contains or references low-level procedural or executable information used for automated [[public:99_annexes:annex-b-terms-and-definitions:t:test_execution|Test Execution]] |
| |
| A Test Case differs from a [[private:99_annexes:annex-b-terms-and-definitions:t:test_result|Test Result]]: | A Test Case differs from a [[public:99_annexes:annex-b-terms-and-definitions:t:test_result|Test Result]]: |
| |
| * A Test Case specifies the verification to perform | * A Test Case specifies the verification to perform |
| * A Test Result records an outcome produced by Test Execution | * A Test Result records an outcome produced by Test Execution |
| |
| A Test Case differs from a [[private:99_annexes:annex-b-terms-and-definitions:t:test_run|Test Run]]: | A Test Case differs from a [[public:99_annexes:annex-b-terms-and-definitions:t:test_run|Test Run]]: |
| |
| * A Test Case specifies the verification unit | * A Test Case specifies the verification unit |
| * A Test Run records an identified execution and its Test Results | * A Test Run records an identified execution and its Test Results |
| |
| A Test Case can reference more than one [[private:99_annexes:annex-b-terms-and-definitions:t:test_item|Test Item]]. The applicable Test Definition identifies which Test Item or collection of Test Items constitutes the subject being verified. | A Test Case can reference more than one [[public:99_annexes:annex-b-terms-and-definitions:t:test_item|Test Item]]. The applicable Test Definition identifies which Test Item or collection of Test Items constitutes the subject being verified. |
| |
| A change to the Test Purpose, Test Steps, Test Sequence, Expected Results, or evaluation criteria can create a new Test Case version when the change affects Test Execution, reproducibility, comparison, or validation. | A change to the Test Purpose, Test Steps, Test Sequence, Expected Results, or evaluation criteria can create a new Test Case version when the change affects Test Execution, reproducibility, comparison, or validation. |
| ===== Example ===== | ===== Example ===== |
| |
| A [[private:99_annexes:annex-b-terms-and-definitions:d:dido-te|DIDO-TE]] Test Case verifies that a proposed DIDO transaction produces the required successor state. | A [[public:99_annexes:annex-b-terms-and-definitions:d:dido-te|DIDO-TE]] Test Case verifies that a proposed DIDO transaction produces the required successor state. |
| |
| The Test Case references: | The Test Case references: |
| |
| * The applicable [[private:99_annexes:annex-b-terms-and-definitions:t:test_item|Test Items]] | * The applicable [[public:99_annexes:annex-b-terms-and-definitions:t:test_item|Test Items]] |
| * The applicable [[private:99_annexes:annex-b-terms-and-definitions:t:test_environment|Test Environment]] | * The applicable [[public:99_annexes:annex-b-terms-and-definitions:t:test_environment|Test Environment]] |
| * A [[private:99_annexes:annex-b-terms-and-definitions:t:test_sequence|Test Sequence]] | * A [[public:99_annexes:annex-b-terms-and-definitions:t:test_sequence|Test Sequence]] |
| * A Test Step that submits the transaction | * A Test Step that submits the transaction |
| * A Test Step that observes transaction distribution | * A Test Step that observes transaction distribution |
| * A Test Step that observes validation by the participating [[private:99_annexes:annex-b-terms-and-definitions:n:node|Nodes]] | * A Test Step that observes validation by the participating [[public:99_annexes:annex-b-terms-and-definitions:n:node|Nodes]] |
| * A Test Step that retrieves the resulting [[private:99_annexes:annex-b-terms-and-definitions:d:dido|DIDO]] state | * A Test Step that retrieves the resulting [[public:99_annexes:annex-b-terms-and-definitions:d:dido|DIDO]] state |
| * An Expected Result identifying the required successor state | * An Expected Result identifying the required successor state |
| |
| During Test Execution, the [[private:99_annexes:annex-b-terms-and-definitions:t:test_run|Test Run]] records the Test Case version, execution context, and resulting [[private:99_annexes:annex-b-terms-and-definitions:t:test_result|Test Results]]. | During Test Execution, the [[public:99_annexes:annex-b-terms-and-definitions:t:test_run|Test Run]] records the Test Case version, execution context, and resulting [[public:99_annexes:annex-b-terms-and-definitions:t:test_result|Test Results]]. |
| |
| ---- | ---- |