Allow current set of test platforms
As per Unity Documentation: https://docs.unity3d.com/Packages/[email protected]/manual/reference-command-line.html
The wording on the documentation is a bit bad, however it allows to pass the test platform directly, switching automatically between EditMode und PlayMode and setting the BuildTarget directly. This is intended behaviour and exists since the integration of the Unity Testrunner, thus is downward compatible.
Can we extend this list to support everything documented here: https://docs.unity3d.com/ScriptReference/BuildTarget.html ? You could crib the list from the BuildTarget param. =)
Whoa, just saw this is super old. If you see this and update the list that'd be great! Otherwise I might fork your branch and make the change in the next couple days.