Debian Codegraph @

t/features/files_graph.feature

raw
1 Feature: dependency graph among files
2 As a software engineering reasearcher
3 I want to know the all relationships between all files on project
4 So that I can run analizo files-graph to produces a DOT graph from source-code
5
6 Scenario: relation between function call
7 Given I am in t/samples/animals/<language>
8 When I run "analizo files-graph ."
9 Then analizo must report that "<referent>" depends on "<referenced>"
10 Examples:
11 | language | referent | referenced |
12 | cpp | main | animal |
13 | java | Main | Animal |
14 | csharp | Main | Animal |
15
16 Scenario: relation between inheritance
17 Given I am in t/samples/animals/<language>
18 When I run "analizo files-graph ."
19 Then analizo must report that "<referent>" depends on "<referenced>"
20 Examples:
21 | language | referent | referenced |
22 | cpp | dog | mammal |
23 | java | Dog | Mammal |
24 | csharp | Dog | Mammal |
25 | cpp | mammal | animal |
26 | java | Mammal | Animal |
27 | csharp | Mammal | Animal |