Sha256: 03c4d02d24157f166be79b300aebc6d1b470a7e59e90bb01d582bd452110c821

Contents?: true

Size: 1.81 KB

Versions: 4

Compression:

Stored size: 1.81 KB

Contents

Feature: Create a JSON compilation database

	Scenario: Showing file compilation
        Given I have a file to compile
        When I pipe to xcpretty with "--report json-compilation-database" and specify a custom path
        Then the JSON compilation database should contain an entry with a command
        Then the JSON compilation database should contain an entry with a directory
        Then the JSON compilation database should contain an entry with a file

    Scenario: Showing file compilation with CCache
        Given I have a file to compile with ccache
        When I pipe to xcpretty with "--report json-compilation-database" and specify a custom path
        Then the JSON compilation database should contain an entry with a command
        Then the JSON compilation database should contain an entry with a directory
        Then the JSON compilation database should contain an entry with a file

    Scenario: Handling a complete xcodebuild session
    	Given some big input
    	When I pipe to xcpretty with "--report json-compilation-database" and specify a custom path
    	Then the JSON compilation database should be complete

    Scenario: Writing to a custom file path
        When I pipe to xcpretty with "--report json-compilation-database" and specify a custom path
        Then I should have a JSON compilation database in a custom path

    Scenario: Writing to multiple custom file paths
        When I pipe to xcpretty with two custom "json-compilation-database" report paths
        Then I should have JSON compilation databases in two custom paths

    Scenario: A project with dependencies with no .pch file
        Given some big input
        When I pipe to xcpretty with "--report json-compilation-database" and specify a custom path
        Then entries with a command shouldn't have malformed "-include" directives

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
xcpretty-0.4.0 features/json_compilation_database_report.feature
xcpretty-security-patched-0.3.2 features/json_compilation_database_report.feature
xcpretty-security-patched-0.3.0 features/json_compilation_database_report.feature
xcpretty-0.3.0 features/json_compilation_database_report.feature