dotnet test

Daniel Shitrit 5 Reputation points
2026-01-17T08:40:36.1633333+00:00

Hi,

1.In my solution, I press Ctrl + Q and type Developer Command Prompt to open it.

2.Input these command:

dotnet test --filter "FullyQualifiedName~SameFormatConversionSecurityTests" --logger "console;verbosity=detailed"

3.What are all the options I have with test command ?

Thanks in advance,

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2026-01-17T08:40:45.9466667+00:00
    AI generated content. This question contains an answer created with AI from Q&A; Assist. Learn more

    The dotnet test command provides several options that you can use to customize your testing process. Here are the options available:

    1. -a|--arch <ARCHITECTURE>: Specify the architecture to use.
    2. --artifacts-path <ARTIFACTS_DIR>: Set the directory for artifacts.
    3. -c|--configuration <CONFIGURATION>: Define the build configuration (e.g., Debug or Release).
    4. -f|--framework <FRAMEWORK>: Specify the target framework.
    5. -e|--environment <NAME="VALUE">: Set environment variables.
    6. --interactive: Run in interactive mode.
    7. --no-build: Skip the build process before testing.
    8. --nologo: Suppress the startup banner.
    9. --no-restore: Skip the restore process before testing.
    10. -o|--output <OUTPUT_DIRECTORY>: Specify the output directory for test results.
    11. --os <OS>: Define the operating system to use.
    12. -r|--runtime <RUNTIME_IDENTIFIER>: Specify the runtime identifier.

    Additionally, you can use the --filter option to run specific tests based on their names or other criteria, as you have done in your command. For more detailed information about each option, you can refer to the official documentation.


    References:


Your answer

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