Newtonsoft.Json-for-Unity icon indicating copy to clipboard operation
Newtonsoft.Json-for-Unity copied to clipboard

Suggestion: Run Unity Test Framework for IL2CPP in Windows containers (CI/CD)

Open applejag opened this issue 4 years ago • 0 comments

Description

Right now only in-Unity-editor playmode and the NUnit console runner is used for testing the project in the CI/CD workflow. This needs to improve to use more the of the Unity Test Frameworks powers. First target is testing in Windows containers.

This is mere a dream right now though, as I do not have Windows Pro (for that Hyper V) :(

Motivation

More stable knowing the tests passes when built with IL2CPP. Having this in the CI/CD would be very nice instead of leaving it to me to manually run the tests every now and then, which I forget from time to time.

Suggested solution

Find one (or make a) docker windows image running Unity Editor 2019.x.x. Then via the Unity Test Framework with different parameters change the test platform & scripting backend (https://docs.unity3d.com/Packages/[email protected]/manual/reference-command-line.html#testplatform)

Inspiration sources

Would be neat to find something like gableroux's docker image, but for windows.

applejag avatar Dec 30 '19 02:12 applejag