xUnit.net Unity Runner
You can download the executable binaries from the releases page.
This program takes one or more absolute paths to .NET assembly files (.dll) and run tests in them, e.g.:
It also takes several options like
--help for details.
On macOS you need to invoke the actual executable binary in StandardOSX.app/Contents/MacOS/ directory, e.g.:
Note that .dll files to test should target on .NET Framework (e.g.,
not .NET Core.
Magic number is wrong: 542 error. I'm on Linux.
TERM environment variable is not set or it's a value unsupported by
xterm-256color) yet Unity player's built-in Mono runtime could
throw such an exception. You could work around this by setting it
TERM=xterm ./StandaloneLinux64 "$(pwd)"/YourTests.dll
See also the related issue on the Mono project: