Ticket #2738 (closed enhancement: fixed)
Smarter GET variables for the test runner
|Reported by:||flesler||Owned by:||joern|
|Keywords:||tests runner get variables not filter module||Cc:|
With this patch, the test runner can be customized some more.
It accepts things like this:
/jquery/test/?core&event /jquery/test/?!ajax&!selector /jquery/test/?core&!makeArray
The logic behind is like this:
If no restriction is found then execute all. Else if(when) there's a match, then If it's a not(!) dont execute this test Else execute this test Else if it's a not Signal this as ok, but keep checking
This logic allows multiple nots, it seemed to me like the expected behavior. I consider this very useful to run only a couple of tests, or specially a !ajax tests (it nearly hangs for me).
Additionally, I added a test that fails until the patch is accepted (by Jörn's request at #2619). We could have some kind of name agreement that this kind of tests, include an "experimental:" or something like that.
Then you can run test/?!experimental: to avoid seeing useless failures.
I hope this is useful.