lambda-behave icon indicating copy to clipboard operation
lambda-behave copied to clipboard

Ability to run individual specs

Open RichardWarburton opened this issue 11 years ago • 3 comments

Currently can only run a whole class at a time in IDEs, due to the way the junit runner interacts. This probably needs plugins. In priority order:

intellij maven eclipse

RichardWarburton avatar Jun 19 '14 10:06 RichardWarburton

After trying lambda-behave for a while I like it a lot. This feature, is the only thing I am missing before pushing others to use this, as we do have big time-consuming tests that we don't want to run when we are just debugging one small individual test.

svetob avatar Oct 29 '15 13:10 svetob

I agree its an important feature, but tbh I'm hoping that the junit-lambda project will kick off the ground properly so I don't have to write custom plugins for all the IDEs and build systems! Lambda-behave could possibly just fit into their more sophisticated model if they meet all the requirements.

RichardWarburton avatar Oct 29 '15 14:10 RichardWarburton

Junit-lambda seems to be fairly far away. In the meantime, would it make sense to have a kind of only() method or sth, which one could toss into the test code of the only spec to be run? That way you can at least temporarily, while developing, only run a single spec from a class. You'd then delete that line again before committing.

jypma avatar Dec 10 '15 08:12 jypma