Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

When verification fails in multiple "try catch" blocks containing "verificationErrors.Append(e.message)" in a single test script, the test results log shows only one of those failures and instead of showing the rest of them, it shows " -----------^". What can I do so that the log window shows the failure messages generated by all "try catch" blocks in the test script?

Thanks

share|improve this question
    
What programming language and xUnit framework do you use? –  Twaldigas Jul 8 at 5:36
    
C# and NUnit. Sorry for not mentioning that in my question. –  MahlerAdmirer Jul 8 at 13:32
    
In JUnit for Java exists a ErrorCollector. It seems that something like that is not implemented in NUnit. But JUnit is open source and maybe you or some of the NUnit developers can implement that. ErrorCollector: junit.org/javadoc/latest/org/junit/rules/ErrorCollector.html JUnit repository: github.com/junit-team/junit –  Twaldigas Jul 8 at 14:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.