Forum member

Hunter-d-_-b

4 posts

Posts by Hunter-d-_-b

  1. Unit Test fails to get GUID from ThisAssembly.Git.Sha

    I did queue a few times and nothing happened :/ Interesting thing. When I debug that Controller code with NCrunch I can see the value inside "string fileVersion = ThisAssembly.Git.Sha;" but for some reason when doing return it doesn't return back to the test assertion. It comes back as an empty s…

  2. Unit Test fails to get GUID from ThisAssembly.Git.Sha

    With these settings it doesn't seem to run any tests at all. It shows green ticks next to 20 projects and question marks next to test projects.

  3. .Net Core 3.1 with WPF classes fail

    I'm not an expert but I had a similar issue recently with my solution. In NCrunch Go to: Configuration > Build Settings > Copy referenced assemblies to workspace = True Let me know if it worked for you :)

  4. Unit Test fails to get GUID from ThisAssembly.Git.Sha

    The NCrunch is returning empty string in the test. However the test works when being run from NUnit test explorer and it returns a GUID. Check Build Version Is Not Blank() [code=csharp] { IHttpActionResult result = controller.GetBuildVersion(); OkNego…