# dotnet 测试 > 执行 .NET 应用程序的测试。 > 注意:请查看 以了解支持的过滤表达式。 > 更多信息:。 - 在当前目录中执行 .NET 项目/解决方案的测试: `dotnet test` - 在特定位置执行 .NET 项目/解决方案的测试: `dotnet test {{path/to/project_or_solution}}` - 执行与给定过滤表达式匹配的测试: `dotnet test --filter {{Name~TestMethod1}}`