Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

Skip if no tests? #18

Closed
matthughes opened this issue Feb 14, 2014 · 1 comment
Closed

Skip if no tests? #18

matthughes opened this issue Feb 14, 2014 · 1 comment

Comments

@matthughes
Copy link

I think this is a Karma but, not maven-karma-plugin, but I'm not sure.

Karma definitely will bomb if you try and run it with no tests. Tough I'm not sure how this plugin could address the issue as the files are specified in karma.conf.js.

I created an issue on karma (karma-runner/karma#926) but would be interested in your thoughts.

@kelveden
Copy link
Contributor

Yeah, I think you're best off dealing with this from the karma end - as you say it's all about the karma.conf.js. The plugin just shells out to that. You could perhaps cite the maven-surefire-plugin in your discussion with Vojta - it has a "failIfNoTests" flag. I'm not saying that that's "the right" way to go but at least there is a precedent of what you're after in a well-used plugin.

Am closing this issue.

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

No branches or pull requests

2 participants