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

Can't choose configuration when default is set #1742

Closed
mlau-anet opened this issue Nov 14, 2024 · 2 comments
Closed

Can't choose configuration when default is set #1742

mlau-anet opened this issue Nov 14, 2024 · 2 comments

Comments

@mlau-anet
Copy link

Sometimes I want to append coverage, sometimes I do not.

If I specify the settings

    "java.test.config": [{
        "name": "don't append coverage",
        "coverage": {"appendResult": false}
    },
    {
        "name": "do append coverage",
    }
    ],

Then I can choose whether to append or not. But usually I do want to append, so I will set this as the default:

    "java.test.config": [{
        "name": "don't append coverage",
        "coverage": {"appendResult": false}
    },
    {
        "name": "do append coverage",
    }
    ],
    "java.test.defaultConfig": "do append coverage"

unfortunately, with these settings, I do not see an option run with the "don't append coverage" option. Is this possible, or do I have to change the defaultConfig setting every time I want to change the config I'm running with?

@jdneo
Copy link
Member

jdneo commented Nov 15, 2024

Currently there might be no perfect solution for your problem. You can remove the setting java.test.defaultConfig, then you can choose test config each time you launch the test.

Does this help with your problem?

Copy link

This issue has been closed automatically because it needs more information and has not had recent activity. Please reach out if you have or find the answers we need so that we can investigate further.

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

No branches or pull requests

2 participants