Answers for "tests not showing in test explorer"

C#
1

tests not showing in test explorer

using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Your.Namespace.Here
{
 // must be public in order to the IDE to find it
 [TestClass]
    public class Tests
    {
        // Add here your test
        [TestMethod]
        public void MyTest()
        {
            Assert.IsTrue(...);
        }
    }
}
Posted by: Guest on April-27-2022

Code answers related to "tests not showing in test explorer"

C# Answers by Framework

Browse Popular Code Answers by Language