Quantcast
Channel: Adobe Community : Popular Discussions - FlexUnit
Viewing all articles
Browse latest Browse all 25673

"expectnot" or equivalent

$
0
0

I was wondering if we have something for automating an assertion for a specific error that should not occur, rather than the test failing. This would be the opposite of expects="Error...". This may sound like an edge case, however I find that from time to time I like to test that a specific error has not occured, and it would be nice to do so outside of a try..catch block.

 

Perhaps there may be something already in place that I am not aware of?

 

Best,

Eric


Viewing all articles
Browse latest Browse all 25673

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>