Replies: 2 comments
-
Let's start from the beginning. What did the instrumentation pass look like? From the AltCover build when the unit tests are run under AltCover
we see the test assembly and the assembly under test marked in their starting locations with
where the NUnit command line looks like
where NUnit is given the instrumented unit test assembly to execute (at the location shown in the How does this compare with what you are seeing? |
Beta Was this translation helpful? Give feedback.
-
Okay so First we Nunit Test project (Project T) which tests the functionality of another project(Project C). I'm trying to instrument the using AltCover.exe -i "path to code of (Porject T)" in repo, I'm pasting the _Intrumented folder that's generated to a location in VM as to execute it requires several dependency. In the VM I'm running this command - |
Beta Was this translation helpful? Give feedback.
-
This is the command i am using -
AltCover.exe Runner --recorderDirectory="Path" --workingDirectory="Path" -x "Path\nunit-console.exe" -- "nunit built dll"
I get the nunit logs saying that the Tests pass, but after that it says this - "Getting results... A total of 0 visits recorded"
By default it should instrument all the dlls in the "Path" location.
I also have the recorder dll in the "Path" location.
Am i doing something wrong? Can someone please help me on this?
Beta Was this translation helpful? Give feedback.
All reactions