Adding support for dotnet test and dotnet tool#105
Adding support for dotnet test and dotnet tool#105EvanTsiatsios wants to merge 3 commits intojincod:masterfrom
Conversation
|
@jincod is this able to get a look or has this been addressed in another PR in the interim? |
|
Hello @Martin11175 Have you checked this PR #77? You can try it using |
|
@EvanTsiatsios , @jincod How do I use this feature? I am using this buildpack with v3.1 but I couldn't find the dotnet installation folder to run my 'dotnet test'. With .Net Core 2.1, "./.heroku/dotnet/dotnet test" used to work but with v3.1 its not. Let me know how to run my tests from app.json. |
|
Hello @NaveenYamparala I've merged master to |
|
Hi @jincod, It didn't work. It's giving me this error(MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.) when I use 'jbowtie-add-testpack-api' branch now. But I am using GitHub actions to run tests now so I am good for now. Thanks for looking into this! |
|
Hi @NaveenYamparala, I'm happy to resolve the issue. Could you please provide the full log? |
With this update you can run dotnet test and dotnet tool commands from the app.json or any other script at runtime.
This usage also aligns it with the way other buildpacks manage the exposure of the SDKs through the environment for testing or any CI/CD scripting needed through a languages toolkit.