Unicity / Gauntlet

A test runner for comparing outputs of HTTP endpoints (Team: US-Backend PM: Mike W.)
Apache License 2.0
1 stars 0 forks source link

Enable/disable tests in config #32

Closed bluetechy closed 7 years ago

bluetechy commented 8 years ago

Since it is not possible to comment out JSON in file, it would be nice to be able to enable/disable tests using a simple Boolean flag.

    "service%3DURL": {
        "name": "service=URL",
        "endpoint": "service=URL",
        "tests": [
            {
                "name": "t1",
                "enabled": false,
                "files": {
                    "inputs": "input.csv",
                    "output": "output.json"
                },
                "ms" : 1100
            },
            {
                "name": "t2",
                "enabled": true,
                "files": {
                    "inputs": "input.csv",
                    "output": "output.json"
                },
                "ms" : 1100
            }
        ]
    }

When the key is not present, it should be assumed that the test is enabled (i.e. true).

bluetechy commented 7 years ago

@powerc9000 Is this available yet?