Skip to content

Commit 5fe5aab

Browse files
authored
Use case/traceability from cb to cpptest (#222)
Update for traceability report use cases related to 'C++ tests' and 'Codebeamer requirements'. - lobster/tools/requirements.rsl: File updated with addition of 'type UseCase' for Use case writing. - lobster/tools/UseCase.trlc : New file added to define use cases. The use cases for traceability report between 'C++ tests' and 'Codebeamer requirements' are added in the file.
1 parent 86976b1 commit 5fe5aab

File tree

3 files changed

+114
-0
lines changed

3 files changed

+114
-0
lines changed

lobster/tools/UseCase.trlc

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
package UC
2+
import req
3+
4+
req.UseCase Trace_codebeamer_cpptest_1 {
5+
description = '''
6+
As a requirement manager I want to have a report of traceability between requirements in codebeamer and tests in C++ tests (software test).
7+
'''
8+
}
9+
10+
req.UseCase Trace_codebeamer_cpptest_2 {
11+
description = '''
12+
As a requirement manager I want traceability report to show the list of requirements in codebeamer which are covered by software test.
13+
'''
14+
}
15+
16+
req.UseCase Trace_codebeamer_cpptest_3 {
17+
description = '''
18+
As a requirement manager I want traceability report to show the list of software tests covering requirements in codebeamer.
19+
'''
20+
}
21+
22+
req.UseCase Trace_codebeamer_cpptest_4 {
23+
description = '''
24+
As a requirement manager I want traceability report to show the coverage computation between total number of requirements in codebeamer and requirements covered in software test.
25+
'''
26+
}
27+
28+
req.UseCase Trace_codebeamer_cpptest_5 {
29+
description = '''
30+
As a requirement manager I want traceability report to show the list of requirements in codebeamer which are not covered by software test.
31+
'''
32+
}
33+
34+
req.UseCase Trace_codebeamer_cpptest_6 {
35+
description = '''
36+
As a requirement manager I want traceability report to show the list of software test which are not covering any requirement in codebeamer.
37+
'''
38+
}
39+
40+
req.UseCase Trace_codebeamer_cpptest_7 {
41+
description = '''
42+
As a requirement manager I want traceability report to show the tracing policy used to generate the report.
43+
'''
44+
}
45+
46+
req.UseCase Trace_codebeamer_cpptest_8 {
47+
description = '''
48+
As a requirement manager I want traceability report to mention the codebeamer link to requirements in codebeamer.
49+
'''
50+
}
51+
52+
req.UseCase Trace_codebeamer_cpptest_9 {
53+
description = '''
54+
As a requirement manager I want traceability report to mention the source location of the software tests.
55+
'''
56+
}
57+
58+
req.UseCase Trace_codebeamer_cpptest_10 {
59+
description = '''
60+
As a requirement manager I want traceability report to be generated as html file.
61+
'''
62+
}
63+
64+
req.UseCase Trace_codebeamer_cpptest_11 {
65+
description = '''
66+
As a requirement manager I want traceability report to show the git hashes of the git commit from which C++ tests were taken.
67+
'''
68+
}
69+
70+
req.UseCase Trace_codebeamer_cpptest_12 {
71+
description = '''
72+
As a requirement manager I want traceability report to show the mapping of requirement in codebeamer to software test covering the requirement.
73+
'''
74+
}
75+
76+
req.UseCase Trace_codebeamer_cpptest_13 {
77+
description = '''
78+
As a requirement manager I want traceability report to show the mapping of software test to covering requirement.
79+
'''
80+
}
81+
82+
req.UseCase Trace_codebeamer_cpptest_14 {
83+
description = '''
84+
As a requirement manager I want traceability report to show a list with all findings where the tracing policy is violated.
85+
'''
86+
}
87+

lobster/tools/requirements.rsl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,10 @@ type Definition {
5757
to prevent the need of duplicating text.
5858
''' String
5959
}
60+
61+
type UseCase {
62+
description '''
63+
The text of the UseCase.
64+
The format shall be : As a < role > I want < description of the UseCase >
65+
''' String
66+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package UC_Nice_to_have
2+
import req
3+
4+
req.UseCase race_codebeamer_cpptest_Nice_to_have_1 {
5+
description = '''
6+
As a requirement manager I want traceability report to highlight the missing traces and good traces in different colour.
7+
'''
8+
}
9+
10+
req.UseCase race_codebeamer_cpptest_Nice_to_have_2 {
11+
description = '''
12+
As a requirement manager I want traceability report to be generated in English Language.
13+
'''
14+
}
15+
16+
req.UseCase race_codebeamer_cpptest_Nice_to_have_3 {
17+
description = '''
18+
As a requirement manager I want traceability report to have hyperlinks to the sections of the html report.
19+
'''
20+
}

0 commit comments

Comments
 (0)