Debian Codegraph @

t/features/dot-analizo.feature

raw
1 Feature: loading command line options from .analizo
2 As a analizo user
3 I want to store command line options in a file called .analizo inside my project
4 So that I don't need to alway pass all those options on the command line
5
6 Scenario: analizo metrics
7 Given I copy t/samples/mixed into a temporary directory
8 And I create a file called .analizo with the following content
9 """
10 metrics: --language java
11 """
12 When I run "analizo metrics ."
13 Then the output must not match "native_backend.c"
14 And the output must match "UI.java"
15 And the exit status must be 0
16
17 Scenario: all others
18 Given I change to an empty temporary directory
19 And I create a file called .analizo with the following content
20 """
21 <command>: --help
22 """
23 When I run "analizo <command>"
24 Then the output must match "analizo <command> is part of the analizo suite."
25 Examples:
26 | command |
27 | graph |
28 | metrics |
29 | metrics-batch |
30 | metrics-history |
31 | tree-evolution |
32 | files-graph |
33 | help |