Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blacklist for tests or test directories for different environments. #107

Closed
ozymandias547 opened this issue Mar 27, 2014 · 2 comments
Closed

Comments

@ozymandias547
Copy link

We have over 10 different servers/environments to run our tests on. Not all tests can be run on all servers, and we'd like to be able to configure more specifically which tests can't be run in the settings.json without changing the command lines for each build environment. I propose we add a blacklist where we can specify tests or test directories to skip within the settings.json, one for each environment.

I'm proposing the config to be like so:

"test_settings" : {
    "default" : {
        ...
        "blacklist" : {
              "files" : ["widgets/file1"],
              "directories" : ["pages", "templates"]
        },
    "env2" : {
        ...
        "blacklist" : {
              "files" : ["widgets/file3"],
              "directories" : ["pages", "registration"]
        }
    }
}

Thoughts?

@beatfactor
Copy link
Member

I think it would be more elegant if we can overwrite the src_folders inside a specific test_settings section. How do you feel about this idea? I'm not sure about the term 'blacklist'...

@ozymandias547
Copy link
Author

Moving this conversation to #110 pull request. We can talk about semantics or other ideas there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants