A suite of integrated tools for creating, running, and managing tests to ensure code quality and reliability.
How to test a method which contains WriteVerbose()?
NewCodee
1
Reputation point
I have the following sample piece of code in c# -
public void MyMethod() {
WriteVerbose("My Statement");
}
How should I write a testmethod for this using MSTest?
WriteVerbose() is from CmdletProvider
Developer technologies | Visual Studio | Testing
Developer technologies | Visual Studio | Testing
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Sign in to answer