Sha256: cf52f8c76c6cf1f11a49542f7f56240657a9643239b15bc766cead93c8f04632
Contents?: true
Size: 1.14 KB
Versions: 16
Compression:
Stored size: 1.14 KB
Contents
Feature: detects code complexity In order to find code complexity As a ruby developer I want to run warder with --code-complexity option Scenario: run warder with enabled code complexity option Given I have valid file in directory When I run `warder --code-complexity` Then warder detects code complexity issues Then the exit status should be 0 Scenario: run warder with enabled code complexity option on invalid file Given I have invalid_code_complexity file in directory When I run `warder --code-complexity` Then warder detects code complexity issues Then the exit status should be 1 Scenario: run warder with enabled code complexity option on valid file only Given I have valid file in directory And I have invalid_code_complexity file in directory When I run `warder --code-complexity valid.rb` Then warder does nothing Then the exit status should be 0 Scenario: run warder with disabled code complexity option on invalid file Given I have invalid_code_complexity file in directory When I run `warder --no-code-complexity` Then warder does nothing Then the exit status should be 0
Version data entries
16 entries across 16 versions & 1 rubygems