NET Core Creates a MS Test class

    0

    1

    lucycodes42

    C# recipes

    This code defines a simple TestClass and TestMethod. The TestClass will contain the methods and properties defined in the TestMethod.

    Shortcut: mstest

    using Microsoft.VisualStudio.TestTools.UnitTesting;
    using System;
    
    namespace ProjectNamespace.Test
    {
      [TestClass]
      public class ClassNameTest
      {
        [TestMethod]
        public void MethodName()
        {
          
        }
      }
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.