Issue in PNUnit
Hi,
I tried to run the multiple tests in parallel with PNunit, i configure the .conf file , below is the code of .conf file when I ran the ''pnunit-launcher test.conf" command it shows that "could not find the test":
<!-- Parallel Test on a single agent - no barriers -->
<ParallelTest>
<Name>ParallelTests</Name>
<Tests>
<TestConf>
<Name>TCLGN0401Test</Name>
<Assembly>E:\Atin\POC\ExamDesign\Feb23\Newfolder\ExamDesign\bin\Debug\ExamDesign.dll</Assembly>
<TestToRun>ExamDesign.CompleteCandidateScript.TCLGN0401Test</TestToRun>
<Machine>$agenthost:8081</Machine>
<TestParams>
<!-- sleep time in seconds -->
<string>2</string>
</TestParams>
</TestConf>
<TestConf>
<Name>TCLGN0402Test</Name>
<Assembly>E:\Atin\POC\ExamDesign\Feb23\Newfolder\ExamDesign\bin\Debug\ExamDesign.dll</Assembly>
<TestToRun>ExamDesign.CompleteCandidateScript.TCLGN0402Test</TestToRun>
<Machine>$agent_host:8081</Machine>
<TestParams>
<string>1</string>
<!-- sleep time in seconds -->
</TestParams>
</TestConf>
</Tests>
</ParallelTest>
Please suggest me how to run the multiple tests parallel.
Thanks,
Atin
Answered eons ago.
-
Anonymous commented
I've got this problem and I'm not able to solve it: I've tried JesusM suggests also, but the problem "test not found" is still alive...Please, can someone give us any trick?
-
JesusM commented
Hi, I suggest you to follow the current setup guides to run your tests:
1-Put the dll's that contains your tests in the same folder as the pnunit agent executable file
2-Run the agent this way: "pnunit-agent.exe 8081 ."
(Also, you can edit the agent.conf file and write the following contents:
<AgentConfig>
<Port>8081</Port>
<PathToAssemblies>.</PathToAssemblies>
</AgentConfig>
3- Change the <Assembly> tag on your ".conf" file, and type only the file name, not the full path.
<Assembly>ExamDesign.dll</Assembly>Cheers,
-Jesús M.