Fine tuning assertion checking dynamically
Is there a way to dynamically select the assertions one want to check? It would be interesting for automatic testing to be able to enable all or some particular kind of assertions (like preconditions or postconditions) for a given class. This way, the test case about SOME_CLASS would enable every assertion checking on it and disable most or all assertion checking on the rest of the system.
Does anybody know that such a feature exists?