Hi,
I want a method which runs once at the start of the entire test run before
any tests are run, and have been trying to use the following;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Gallio.Framework;
using MbUnit.Framework;
namespace IDL.Testing.Helpers.Functional.Helpers
{
[AssemblyFixture]
public class AssemblyStuff
{
[FixtureSetUp]
public void MySetUp()
{
.......
}
[FixtureTearDown]
public void MyTearDown()
{
......
}
}
}
When running the tests via TestDriven or TeamCity via MSBuild, this seems
to work, but since using Icarus, the FixtureSetUp method appears to be run
several times (presumably each thread).
So;
- Have been wrong and this the correct behaviour, I was unaware that it
worked that way via TestDriven and MSBuild?
- Is this specific to Icarus?
- Is there any other way to create a method which runs once only at the
start of the entire run, before any tests have started?
Thanks
Robbie
--
You received this message because you are subscribed to the Google Groups
"MbUnit.User" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/mbunituser/-/NfnQBdWC0JUJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/mbunituser?hl=en.