| 1 |
Feature: language filters |
| 2 |
As a software developer in a multi-language project |
| 3 |
I want to analyze only one programming language |
| 4 |
So that the results are as correct as possible |
| 5 |
|
| 6 |
Scenario: filtering for C code |
| 7 |
Given I am in t/samples/mixed |
| 8 |
When I run "analizo metrics --language c ." |
| 9 |
Then the output must match "native_backend" |
| 10 |
And the output must not match "UI" |
| 11 |
And the output must not match "Backend" |
| 12 |
And the output must not match "CSharp_Backend" |
| 13 |
|
| 14 |
Scenario: filtering for Java code |
| 15 |
Given I am in t/samples/mixed |
| 16 |
When I run "analizo metrics --language java ." |
| 17 |
Then the output must match "UI" |
| 18 |
And the output must match "Backend" |
| 19 |
And the output must not match "native_backend" |
| 20 |
And the output must not match "CSharp_Backend" |
| 21 |
|
| 22 |
Scenario: filtering for CSharp code |
| 23 |
Given I am in t/samples/mixed |
| 24 |
When I run "analizo metrics --language csharp ." |
| 25 |
Then the output must match "CSharp_Backend" |
| 26 |
And the output must not match "UI" |
| 27 |
And the output must not match "native_backend" |
| 28 |
|
| 29 |
Scenario: listing languages |
| 30 |
When I run "analizo metrics --language list" |
| 31 |
Then analizo must present a list of languages |