Skip to content

Autowatch and Global pattern #160

Description

@AlexTeixeira

Visual Studio Code : 1.29.0-insider
.NET Core Test Explorer : 0.5.4
OS Version : macOS Mojave 10.14

Hello,

I'm trying to activate autowatch option, to improve increase my productivity on developing with TDD approach.

I'm using a global pattern : *test/*/Test.csproj and when I active autowatch, only the first of the list is executed.

Here the logs from console :

MacbookAlex:Gardendynamics OrcusZ$ cd "/Users/OrcusZ/Projects/Gardendynamics/test/Business/Gardendynamics.CalculationTest"
MacbookAlex:Gardendynamics.CalculationTest OrcusZ$ dotnet watch test --logger "trx;LogFileName=/var/folders/kd/0m3yxst15n36rbl2691k24ch0000gn/T/test-explorer-6IsSeE/autoWatch.trx"
watch : Started
/usr/local/share/dotnet/sdk/2.1.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ObsoleteReferences.targets(33,5): warning : L'utilisation de DotNetCliToolReference pour référencer 'Microsoft.DotNet.Watcher.Tools' est obsolète et peut être supprimée de ce projet. Cet outil est fourni en bundle par défaut dans le kit SDK .NET Core. [/Users/OrcusZ/Projects/Gardendynamics/test/Business/Gardendynamics.CalculationTest/Gardendynamics.CalculationTest.csproj]
La build a démarré. Patientez…
/usr/local/share/dotnet/sdk/2.1.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ObsoleteReferences.targets(33,5): warning : L'utilisation de DotNetCliToolReference pour référencer 'Microsoft.DotNet.Watcher.Tools' est obsolète et peut être supprimée de ce projet. Cet outil est fourni en bundle par défaut dans le kit SDK .NET Core. [/Users/OrcusZ/Projects/Gardendynamics/test/Business/Gardendynamics.CalculationTest/Gardendynamics.CalculationTest.csproj]
Fin de la build.

Série de tests pour /Users/OrcusZ/Projects/Gardendynamics/test/Business/Gardendynamics.CalculationTest/bin/Debug/netcoreapp2.0/Gardendynamics.CalculationTest.dll(.NETCoreApp,Version=v2.0)
Outil en ligne de commande d'exécution de tests Microsoft (R), version 15.7.0
Copyright (c) Microsoft Corporation. Tous droits réservés.

Démarrage de l'exécution de tests, patientez...
Results File: /var/folders/kd/0m3yxst15n36rbl2691k24ch0000gn/T/test-explorer-6IsSeE/autoWatch.trx

Nombre total de tests : 3. Réussis : 3. Non réussis : 0. Ignorés : 0.
Série de tests réussie.
Durée d'exécution des tests : 1,1115 Secondes
watch : Exited
watch : Waiting for a file to change before restarting dotnet...

When I reload the .net explorer, I back to working explorer with all projects

capture d ecran 2018-10-29 a 21 50 31

I don't know if you can integrate it in current version or I you can integrate it to PR #83

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions