# Writing Tests

Name each test for its scenario, write it in three parts (Arrange, Act, Assert), check results with MSTest's Assert methods, and run one test for many inputs with DataRow.

![Cheat sheet: Writing Tests](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/3d43c499773f43c0be5cc6ad531d5957.webp)

- Category: C#
- Level: Apprentice
- Tags: "Arrange", "Act", "Assert", \[DataRow\], Assertion (unit-testing), c-sharp, Test Naming, unit testing
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/unit-testing-with-mstest-writing-tests-cheat-sheet
