codereflection / Giles

a continuous testing tool for .NET applications

Home Page:http://testergiles.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Relative paths not auto running

reidev275 opened this issue · comments

Working with a legacy code base where a solution build takes minutes so I created another solution outside of the existing solution file structure that would only include the newer testable code. Auto running is not working. I have a suspicion that the issue is the ".." relative path for the Test Assemblies section.

Current Configuration
  Build Delay: 500
  Solution: D:\Dev\MyProject\MyProjectTests.sln
  Test Assemblies:
        ..\MyProject.Tests\bin\Debug\MyProject.Tests.dll
  Test Filters:
        <All Classes>

Can you post an example? I'm not sure that I'm grokking this properly.

https://github.com/reidev275/GilesRelativePath

I have manually moved a GilesRelativePath.sln into the SolutionFolder subdirectory. When Giles is run against that solution it does not listen to changes from the GilesRelativePath.csproj. The root level solution does listen to changes to the same project though.

Subdirectory solution -does not listen

https://github.com/reidev275/GilesRelativePath/blob/master/SolutionFolder/GilesRelativePath.sln

Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GilesRelativePath", "..\GilesRelativePath\GilesRelativePath.csproj", "{B8539578-EC57-4DE8-828C-7E7E06BFE2C0}"
EndProject

Root level solution -does listen

https://github.com/reidev275/GilesRelativePath/blob/master/GilesRelativePath.sln

Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GilesRelativePath", "GilesRelativePath\GilesRelativePath.csproj", "{B8539578-EC57-4DE8-828C-7E7E06BFE2C0}"
EndProject

I believe the issue is related to the ".." found within the project reference of the Subdirectory solution