nunit console runner only running x86 instead of x64
See original GitHub issueThese are the arguments I use
–agents=1 –workers=1 –config=Debug –labels=On –wait –skipnontestassemblies –testlist=\TempTests.txt {path to .sln file}
The solution file has configurations for x86
and x64
projects. Running it like this, the console runner only tries to find the .dll
inside the Debug folder, which then fails because there is nothing in there.
All our tests are written in x64
, so is there any way to make the console runner force look at the /Debug/x64
folders?
I think this issue might be related to this one: https://github.com/nunit/nunit3-vs-adapter/issues/384
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
How to specify to NUnit test runner to execute tests in 64 bits
The console runner provides an --x86 option to run your AnyCpu code in a 32-bit process but no corresponding 64-bit option exists, because...
Read more >Platform Selection | NUnit Docs
If your tests are compiled x86 or x64, NUnit will run each assembly by default in a process targeted at the appropriate platform...
Read more >Run a unit test as a 64-bit process - Visual Studio (Windows)
Set the unit tests to run as a 64-bit process. From the Visual Studio menu, choose Test, then choose Processor Architecture for AnyCPU...
Read more >x86 version of xunit / Questions / Discussion Area
Several of my unit test assemblies can only run in x86 due to dependencies. When run in 64 bit mode they fail. Hence...
Read more >NUnit Support in TeamCity
NUnit version 3.4.0 is not supported by the NUnit build runner due to a ... allows running NUnit tests under the x86 process...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Also… here is the documentation of the format
https://github.com/nunit/docs/wiki/NUnit-Project-XML-Format
In that case, I suggest setting up “configs” that work for you.
Create a name for each grouping of test assemblies you want to run together.
Either manually or using the NUnit Project Editor download, create the XML that represents an NUnit project. See an example at http://nunit.org/files/nunit_project_25.txt but you can leave out most attributes (except for the config and assembly names, of course) until they are needed. Note that the assembly paths are relative to the location of the .nunit file itself. An assembly can appear in more than one config if you need to run differing combinations.
I suggest starting simplly. 😃