Skip to content

Commit a9babc3

Browse files
improve statistics page (#364)
1 parent 9a530cf commit a9babc3

3 files changed

Lines changed: 113 additions & 65 deletions

File tree

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
.. _statistics:
2+
3+
Implementation State Statistics
4+
================================
5+
6+
Overview
7+
--------
8+
9+
.. needpie:: Requirements Status
10+
:labels: not implemented, implemented but not tested, implemented and tested
11+
:colors: red,yellow, green
12+
13+
type == 'tool_req' and implemented == 'NO'
14+
type == 'tool_req' and testlink == '' and (implemented == 'YES' or implemented == 'PARTIAL')
15+
type == 'tool_req' and testlink != '' and (implemented == 'YES' or implemented == 'PARTIAL')
16+
17+
In Detail
18+
---------
19+
20+
.. grid:: 2
21+
:class-container: score-grid
22+
23+
.. grid-item-card::
24+
25+
.. needpie:: Requirements marked as Implemented
26+
:labels: not implemented, partial, implemented
27+
:colors: red, orange, green
28+
29+
type == 'tool_req' and implemented == 'NO'
30+
type == 'tool_req' and implemented == 'PARTIAL'
31+
type == 'tool_req' and implemented == 'YES'
32+
33+
.. grid-item-card::
34+
35+
.. needpie:: Requirements with Codelinks
36+
:labels: no codelink, with codelink
37+
:colors: red, green
38+
39+
type == 'tool_req' and source_code_link == ''
40+
type == 'tool_req' and source_code_link != ''
41+
42+
.. grid-item-card::
43+
44+
.. needpie:: Test Results
45+
:labels: passed, failed, skipped
46+
:colors: green, red, orange
47+
48+
type == 'testcase' and result == 'passed'
49+
type == 'testcase' and result == 'failed'
50+
type == 'testcase' and result == 'skipped'
51+
52+
.. grid:: 2
53+
54+
.. grid-item-card::
55+
56+
Failed Tests
57+
58+
*Hint: this table is empty by definition, as PRs with failing tests are not allowed to be merged in docs-as-code repo.*
59+
60+
.. needtable:: FAILED TESTS
61+
:filter: result == "failed"
62+
:tags: TEST
63+
:columns: name as "testcase";result;fully_verifies;partially_verifies;test_type;derivation_technique;id as "link"
64+
65+
.. grid-item-card::
66+
67+
Skipped / Disabled Tests
68+
69+
*Hint: this table is empty by definition, as we do not allow skipped or disabled tests in docs-as-code repo.*
70+
71+
.. needtable:: SKIPPED/DISABLED TESTS
72+
:filter: result != "failed" and result != "passed"
73+
:tags: TEST
74+
:columns: name as "testcase";result;fully_verifies;partially_verifies;test_type;derivation_technique;id as "link"
75+
76+
77+
78+
79+
All passed Tests
80+
-----------------
81+
82+
.. needtable:: SUCCESSFUL TESTS
83+
:filter: result == "passed"
84+
:tags: TEST
85+
:columns: name as "testcase";result;fully_verifies;partially_verifies;test_type;derivation_technique;id as "link"
86+
87+
88+
Details About Testcases
89+
------------------------
90+
*Data is not filled out yet within the test cases.*
91+
92+
.. needpie:: Test Types Used In Testcases
93+
:labels: fault-injection, interface-test, requirements-based, resource-usage
94+
:legend:
95+
96+
type == 'testcase' and test_type == 'fault-injection'
97+
type == 'testcase' and test_type == 'interface-test'
98+
type == 'testcase' and test_type == 'requirements-based'
99+
type == 'testcase' and test_type == 'resource-usage'
100+
101+
102+
.. needpie:: Derivation Techniques Used In Testcases
103+
:labels: requirements-analysis, design-analysis, boundary-values, equivalence-classes, fuzz-testing, error-guessing, explorative-testing
104+
:legend:
105+
106+
type == 'testcase' and derivation_technique == 'requirements-analysis'
107+
type == 'testcase' and derivation_technique == 'design-analysis'
108+
type == 'testcase' and derivation_technique == 'boundary-values'
109+
type == 'testcase' and derivation_technique == 'equivalence-classes'
110+
type == 'testcase' and derivation_technique == 'fuzz-testing'
111+
type == 'testcase' and derivation_technique == 'error-guessing'
112+
type == 'testcase' and derivation_technique == 'explorative-testing'

docs/internals/requirements/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ Requirements
88
process_overview
99
tool_req_overview
1010
requirements
11-
test_overview
11+
implementation_state

docs/internals/requirements/test_overview.rst

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)