Do you use any assets to help you with this task?
If you're talking about unit testing and you're using Visual Studio, use the built-in unit testing feature in Visual Studio for C#.
https://docs.microsoft.com/en-us/visualstudio/test/walkthrough-creating-and-runn...