Is there a way to detect which test group is running from within my test so that I can then determine if I should skip some tests?
TLDR;
I might be going about this this the wrong way, so I'd be open to a better way of doing things if there is one.
Basically, I have 2 test groups: one runs on the pre-built file, the other runs on the post-built [minified] file.
There are a few WIP files in the pre-built group that are being tested, however, I don't want them in my post-built file. During the build phase, these files do not get added to the post-built file and during the test phase, I do not load the test file that relate to these WIP files.
My problem is that there are a couple of tests scattered around some of my other files that break if the WIP files are not loaded.
Is there a way to detect which test group is running from within my test so that I can then determine if I should skip some tests?
From within a test file, I'm imagining something like:
// do stuff
}