
1. Performed on the class (“unit”) level
2. Each unit is tested in isolation
3. Automatic
4. Easy to write
5. Scope is smaller, easier to fix errors



// unit test code
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BankTests
{
[TestClass]
public class BankAccountTests
{
[TestMethod]
public void TestMethod1()
{
}
}
} 
