JB Steadman's blog



JB SteadmanJB Steadman
javascriptTests.bind(reality)
edit Posted by JB Steadman on Friday February 05, 2010 at 12:05AM

Javascript tests are good, but manually-maintained HTML fixtures are painful. It's time consuming to keep fixture markup in sync with the actual markup produced by your app. Despite best efforts, deviations arise, leading to bugs and false positives in tests.

For the past few months on Mavenlink, we've been pre-generating real-life fixture markup and making it available in our javascript tests. Results have been positive.