Skip to content

Instantly share code, notes, and snippets.

@marcioalthmann
Created July 7, 2015 12:08
Show Gist options
  • Save marcioalthmann/d9b06311efec041874db to your computer and use it in GitHub Desktop.
Save marcioalthmann/d9b06311efec041874db to your computer and use it in GitHub Desktop.
Testes utilizando Profile no BIT
[BefTestClass(Profile = "Desenvolvimento")]
public class Desenvolvimento
{
[Test]
public void Test()
{
Assert.AreEqual("WES_DESENVOLVIMENTO", AppContext.Administration.DefaultSystemInstanceName);
}
}
[BefTestClass(Profile = "Testes")]
public class Testes
{
[Test]
public void Test()
{
Assert.AreEqual("WES_TESTES", AppContext.Administration.DefaultSystemInstanceName);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment