Stripping QUnit tests for deployment?
I have QUnit tests running in my project and it's great - except I don't want to have to manually comment them out every time I deploy my code (or have the extra bits go over the wire).
Is there an easy solution for this? Perhaps this is provided as a feature of a minifier.
Does anyone have a good solution for getting the benefits of Unit testing in Javascript without having to take additional steps to remove the tests from the actual customer facing code?
Thanks!
Nathan