Skip to content

An Awesomeshly Amazing Arrange-Act-Assert framework on top of MbUnit

Notifications You must be signed in to change notification settings

uluhonolulu/Arractas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Arractas is designed to decouple the context from your tests, and encourage the Arrange-Act-Assert syntax

Example:
public class Customer_Named_John : BaseContextTest<OneCustomerNamedJohnContext> {
    [Test]
    public void ShouldBePreferred() {
      Assert.IsTrue(Context.Customer.IsPreferred);
    }
}

public class Customer_WhenSetNameToJohn : BaseCommandTest<OneCustomerContext> {
    public override Act() {
      Context.Customer.Name = "John";
    }
    [Test]
    public void ShouldBecomePreferred() {
      Assert.IsTrue(Context.Customer.IsPreferred);
    }
}

About

An Awesomeshly Amazing Arrange-Act-Assert framework on top of MbUnit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages