On Jun 1, 11:16 am, RobG <[email protected]> wrote: > 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?
Incidentally, you are presenting an invalid document, which for me invalidates the entire thing. If you are going to test qSA, you probably should be using an HTML DOCTYPE, since that is the vast majority of web servers are actually serving. -- 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]
