Debian Codegraph @

t/features/metrics/methods_per_abstract_class.feature

raw
1 Feature: total number of methods per abstract class
2 As a software developer
3 I want analizo to report the number of abstract classes in my code
4 So that I can evaluate it
5
6 Scenario: "Hello, world" project
7 Given I am in t/samples/hello_world/<language>
8 When I run "analizo metrics ."
9 Then analizo must report that the project has total_methods_per_abstract_class = 0
10 Examples:
11 | language |
12 | cpp |
13 | java |
14 | csharp |
15
16 Scenario: "Animals" project
17 Given I am in t/samples/animals/<language>
18 When I run "analizo metrics ."
19 Then analizo must report that the project has total_methods_per_abstract_class = <value>
20 Examples:
21 | language | value |
22 | cpp | 1 |
23 | java | 1 |
24 | csharp | 1 |
25
26 Scenario: "Polygons" project
27 Given I am in t/samples/polygons/<language>
28 When I run "analizo metrics ."
29 Then analizo must report that the project has total_methods_per_abstract_class = <value>
30 Examples:
31 | language | value |
32 | cpp | 2.5 |
33 | java | 2 |
34 | csharp | 2 |