Debian Codegraph @

t/features/metrics/modules_with_defined_attributes.feature

raw
1 Feature: number of abstract classes
2 As a software developer
3 I want analizo to report the number of modules with at least a defined method 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_modules_with_defined_attributes = 1
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_modules_with_defined_attributes = 2
20 Examples:
21 | language |
22 | cpp |
23 | java |
24 | csharp |