On this page
NUnit Testing Framework
Overview
Qualified supports the NUnit testing framework.
Basic Example
Solution code
public class Challenge
{
public static int Add(int a, int b)
{
return a + b;
}
}
Test suite
using NUnit.Framework;
[TestFixture]
public class AddTest
{
[Test, Description("should add two numbers")]
public void ShouldAddTwoNumbers()
{
Assert.AreEqual(3, Challenge.Add(1, 2));
}
}
Learn More
You can learn more on the NUnit website.