Like fast/slow or db dependant... is there a way t...
# spek
d
Like fast/slow or db dependant... is there a way to tag speks and run only selected tags from gradle command line (like when running CI pipelines) @raniejade
r
Not currently supported, but if you are using gradle maybe you can do something like: https://stackoverflow.com/a/50299968/1425525
d
It would be nice to have an extra tag param added to groups like given and context... is that very hard to implement? Otherwise, if I need to have long running tests in the same test class but just ignore them for a certain run, it wouldn't be pleasant to make a whole new source set for it... maybe it could work like xgiven or xcontext?
r
there is some initial talk about tagging here: https://github.com/spekframework/spek/issues/250.
d
Is it possible at least to run tests only from a certain folder...? I mean from gradle command line?
r
Unfortunately, no.