inkling/Subliminal

Focus should not be platform-dependent.

wearhere opened this issue · 1 comments

Currently, a test can only be focused if it supports the current platform. If the user attempts to focus the test and it does not support the current platform, the focus will be ignored and all tests will run as usual.

It would be easier to reason about what focus really means--trying to run one test, at the exclusion of all other tests--if focusing a test focused it, period. If the test doesn't support the current environment, then no tests should run.

I don't expect anyone to rely on the previous behavior insofar as focusing is temporary, and focusing an unsupported test isn't going to work no matter what.

Hat tip to @justinseanmartin for suggesting this.

This should be fixed after #233 goes in so that the fix can encompass platform and environment support.