SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Hot to run nunit tests with /nothread option for nunit-console?

Last post 05-25-2007 11:52 AM by DanielGrunwald. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-25-2007 8:51 AM

    Hot to run nunit tests with /nothread option for nunit-console?

    Hi,

    I am having a problem with my unit tests failing randomly.

    I switched to sqlite from firebird. Now the tests run blazingly fast, but the problem persists.

    When i ran the tests manually with nunit-console myasembly /nothread   all tests passed.

     How to instruct in sharpdevelop that test should be run using /nothread? Should I modify the nunit plugin, or is there an easier way?

     

    Filed under:
  • 05-25-2007 11:52 AM In reply to

    Re: Hot to run nunit tests with /nothread option for nunit-console?

    Maybe this is related to running the tests in a STA vs. MTA environment. You should be able to control that using an app.config file for the unit test project: http://community.sharpdevelop.net/blogs/mattward/archive/2006/11/22/UnitTestingChangesInSharpDevelop21.aspx
    Daniel Grunwald
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.