[Windmill-dev] JS test suite or test setup/teardown
Matthew Eernisse
mde at osafoundation.org
Thu Dec 20 15:34:39 PST 2007
Mikeal Rogers wrote:
> jsdir=root directory of your js tests to be mounted, parsed, and send to
> the framework
Sounds good.
> jsfilter=filtering for the test framework, supports
> ns:string_match_filter and tests:string_match_filter
This seems fine.
> I don't like the work "phase", it's not specific enough, because what it
> actually means is "run only this phase". I would prefer
>
> jsrunonly=setup,teardown # I think we do need it command delimited,
> because I can see a need for running jsrunonly=setup,test very often.
>
> or
>
> jsonlyrun=
Comma-delimited sounds perfect.
I don't like "runonly", because that could also easily mean "which tests
to run." -- e.g., "only run these tests." It's ambiguous, and could be
easily be confused with the filter option.
I'd advocate using 'jsphase' -- to pile on, later on when we figure out
a way to load up the JS tests without running them, this option would
apply to both, so using "run" for this would make even less sense.
Obviously the person doing this at the command line knows that they're
either loading or running tests, so it seems kind of unecessary.
What would this look like being called inside a running shell with
run_js_test_dir?
Matthew
More information about the Windmill-dev
mailing list