On May 30, 12:29 am, Nathan Sweet <[email protected]> wrote: > >>The only selector string failing in your tests is the ".1st-p" which > >>correctly fails since the class name does not correspond to a valid > >>identifier. > > Fixed.
Where "fixed" apparently means removed, but should mean "the correct outcome is tested for". Failure tests are a valid part of a test suite - particularly unit tests, which should always test out-of-range data to ensure it is handled predictably. If you only ever test with valid data, how can you know your application will properly[1] handle invalid data? > Doesn't anybody know of any interesting failures with qSA? I'm not saying it > to be smug, I can't find any. I'm sure that it fails on some pseudos. Ask on CLJ, I'm sure you'll get some responses. 1. Where "properly" is defined by the design specification. -- Rob -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
