# Adding Test Classes

Add an MSTest test project beside your app, give it a reference to the app, and add a test class for each class you test.

![Cheat sheet: Adding Test Classes](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/405da9b2d5f8428bb793c9a81d7f3d46.webp)

- Category: C#
- Level: Apprentice
- Tags: \[TestClass\] and \[TestMethod\], Attribute (c-sharp), c-sharp, Test Project, unit testing
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/unit-testing-with-mstest-adding-test-classes-cheat-sheet
