On 11/20/14, 10:38 AM, David Rajchenbach-Teller wrote:
I have put together an API that could replace runtime warnings with
something much more actionable, and much less noisy. They key aspects
are that:
- when the code is executed as part of the test suite, it causes test
failures;
- individual tests can whitelist individual failures;
- when the code is executed on a user's computer, it does nothing costly.

This sounds lovely.

Note that in C++ for some of our test suites we already have this with NS_ASSERTION and for all test suites we have it with MOZ_ASSERT. Assuming, of course, that the test suite is run in debug builds...

-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to