Try fast search NHibernate

15 August 2009

Developing #TestsEx

I’m developing some new features in SharpTestsEx.

This is the test:

public void GetMessage()
var ass = new OrAssertion<int>(new AssertionStub<int>("Left message"),
new AssertionStub<int>("Right message"));

var lines = ass.GetMessage(1, null)
.Split(new[] {Environment.NewLine}, StringSplitOptions.None);

lines.Should().Have.SameSequenceAs("(Left message)", "Or", "(Right message)");

and, after the first implementation this was the failure message


Clear without run in debug… I love it!!!

No comments:

Post a Comment