Unit test command line arguments

杨岑 171 Reputation points
2024-04-02T08:22:34.0433333+00:00

How can I get the arguments specified in the following dialog:

[TestMethod]
public void Test1() {
    // How get the command line arguments?
}

屏幕截图 2024-04-02 161907

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
352 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.