# NUnit

A .NET framework for organizing and running automated tests.

## What is **NUnit** in C#?

**NUnit** — A .NET framework for organizing and running automated tests.

```csharp
class OrderCalculatorTests
{
    [Test]
    public void TotalsAnOrder()
    {
        int total = 3 * 4;
        Assert.That(total, Is.EqualTo(12));
    }
}
```

Level: Freelancer · [More C# terms at this level](https://www.ask-codey.com/glossary/subjects/c-sharp/freelancer)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/nunit
