2017-10-12 33 views
0

J'essaie de lancer des tests unitaires Nunit en utilisant finalbuilder/continua et ça ne marche tout simplement pas et je ne sais pas pourquoi. Je viens d'obtenir cette erreur:"Aucun fichier testable trouvé." lorsque j'essaie de lancer NUnit avec le constructeur final

enter image description here

No testable files found. Check that you have entered valid paths for the Files field. Also ensure that the Workspace and Repository Rules are set up correctly to copy the files to the agent.

je la configuration suivante:

enter image description here

Je construis la dll avant la main:

enter image description here

Je peux voir la dll (ce que je pense est) le bon répertoire:

enter image description here

Je me suis retourné sur l'enregistrement des commentaires, mais ce n'est pas utile. Je reçois juste la même information:

Medium: 08:52:38.824 {T12} [Debug] Running action 'NUnit MES_Helpers_Test (NUnitAction)'. 
Medium: 08:52:38.840 {T12} [Execute Action] Action 'NUnit MES_Helpers_Test' has failed due to an error: No testable files found. Check that you have entered valid paths for the Files field. Also ensure that the Workspace and Repository Rules are set up correctly to copy the files to the agent. 
Medium: 08:52:38.840 {T12} [Debug] Running action 'Build solution (MSBuildAction)'. 

Qu'est-ce qui me manque ici?

Répondre

2

Il semble qu'il manque un 's' dans votre chemin de fichier.

Change:

$Workspace$\Output\MES_Helpers_Test\MES_Helpers_Test.dll

à

$Workspace$\Output\MES_Helpers_Test\MES_Helpers_Tests.dll

+1

Je suis un idiot. Merci – Liam