I don't think there is a concept of only on an munit suite, is there? Eg:
mySuite =
name: "My Suite"
only: true # Of all suites registered, only this one will run
or
mySuite =
name: "My Suite"
tests:
'my test':
func: (test): ->
only: true # Only this test will run
This is a concept from Mocha, that if we had it on the raw Munit suites/tests we could put it on the BDD describe / it semantics.
Want me to take a look at this? Or would that be easy for you to bang out seeing you've got you're heads around the MUnit class.
To do one better than Mocha, it's would be really important to be cumulative around only filters. This allows you to narrow in on say 2 relevant tests that you're working on. Mocha just finds the first match of .only and runs that, which is super annoying.
I don't think there is a concept of
onlyon an munit suite, is there? Eg:or
This is a concept from Mocha, that if we had it on the raw Munit suites/tests we could put it on the BDD
describe / itsemantics.Want me to take a look at this? Or would that be easy for you to bang out seeing you've got you're heads around the MUnit class.
To do one better than Mocha, it's would be really important to be cumulative around
onlyfilters. This allows you to narrow in on say 2 relevant tests that you're working on. Mocha just finds the first match of.onlyand runs that, which is super annoying.