lib/makit/mp/project_mp.rb in makit-0.0.7 vs lib/makit/mp/project_mp.rb in makit-0.0.8
- old
+ new
@@ -154,10 +154,18 @@
end
end
def test_dotnet_projects
self.dotnet_projects.each do |project|
- "dotnet test #{project.output} --configuration Release".run
+ if (project.os == "windows" && !Makit::Environment.is_windows?)
+ next
+ else
+ project.test.each do |test_args|
+ project_path = File.join(project.output, "#{project.name}.csproj")
+ Makit::DotNet.test(project_path, test_args.configuration, test_args.output)
+ end
+ #"dotnet test #{project.output} --configuration Release".run
+ end
end
end
end # class Project
end # module V1
end # module Makit