Note that there are some explanatory texts on larger screens.

plurals
  1. PONUnit tests being aborted randomly (Involves ServiceStack & RavenDB)
    primarykey
    data
    text
    <h1>NUnit tests being aborted randomly (Involves ServiceStack &amp; RavenDB)</h1> <p>We have a project where we use ServiceStack and RavenDB. Testing is done using NUnit.</p> <p>When running the tests individually everything works fine. When running more than one test a few will do their thing (pass/fail) but very often one of the tests will be aborted and all subsequent tests will not be run. Which test aborts is seemingly random. The more tests that are being run the higher the chance that one will be aborted. The test that gets aborted does seem to be able to run through all its actions though seeing from the test log.</p> <p>Unfortunately I'm not able to give more info besides the following files which show the way our tests are set up.</p> <ul> <li><a href="http://ideone.com/l9NS41" rel="nofollow noreferrer">IntegrationBaseTest.cs</a> (Base test class)</li> <li><a href="http://ideone.com/Wpc4xG" rel="nofollow noreferrer">GlobalSetupFixture.cs</a></li> <li><a href="http://ideone.com/hlDayj" rel="nofollow noreferrer">AccountServiceTests.cs</a> (Example file with tests)</li> <li><a href="http://ideone.com/NKhukb" rel="nofollow noreferrer">test log</a> (Log of aborted test, in this case DeleteAccount_DeletesAccount)</li> <li>Result view of running all tests in <code>AccountServiceTests.cs</code>.<br> Which test gets aborted is completely random.<br> <img src="https://i.imgur.com/wM8cik0.png" alt="Failing test view"></li> </ul> <p>Does anyone have any idea of what I could try to fix this? :)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload