Review Request #5107 - Created May 14, 2012 and submitted
See the JIRA for the high-level description. My approach to doing this was to introduce a new test case in the end-to-end tests. This way I can test with a real FeatureRegistry against the real web app. I make a request to the JsServlet for all of the features, which will run through the compiler processors. Because of the changes that went in for https://issues.apache.org/jira/browse/SHINDIG-1770, we will return the compile error and this will get printed as part of the JUnit assert failure, pin-pointing the exact compile problem. Note that this does increase the time it takes to execute the EndToEndTest on the scale of tens of seconds.
Introduced some JS errors and verified that the unit test failed. Additionally verified the reason for the failure was readily available.
Posted (May 14, 2012, 8:55 p.m.)