KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Do you think that this is a good way for testing exceptions? Any suggestions? Exception exception = null; try{ //I m sure that an exeption will happen here } catch (Exception ex){ exception = ex; } Assert.IsNotNull(exception); I'm using MS Test.
Tags (comma-separated)
Save Edits
Cancel