See the tests in VSCode and improvements in powershell–part 24
I wanted that the user can see the tests when running in VSCode. So in devcontainer.json I have put
“extensions”: [
“ms-vscode.csharp”
“ms-vscode.csharp”,
“hbenl.vscode-test-explorer”,
“formulahendry.dotnet-test-explorer”
]
and in the settings.json on .vscode folder
dotnet-test-explorer.enableTelemetry”: false,
“dotnet-test-explorer.testProjectPath”:”**/*.sln”,
“dotnet-test-explorer.autoExpandTree”:true
So far, so good. But – I remember that powershell have a problem. And I figure why – before running
dotnet pwsh
I should run
dotnet tool restore
in order to run the dotnet-toolsjson from .config file
{
“version”: 1,
“isRoot”: true,
“tools”: {
“powershell”: {
“version”: “6.2.3”,
“commands”: [
“pwsh”
]
}
}
}
.And this command should be executed both in Docker and in Azure
Infovalutar
And one hour passes...(This is the result of 1 hour per day auto-challenge as a full cycle developer for an exchange rates application)
( You can see the sources at https://github.com/ignatandrei/InfoValutar/ )
Leave a Reply