Skip to content

Commit ae200af

Browse files
authored
Fix NUnit tests by migrating to use Unity Test Frameworks. (#646)
- Change NUnit tests to utilize Unity Test Frameworks - Add new script to enable dlls through Version Handler. This script should be removed before tests, or it will exit the Unity once Version Handler update is done. - Add required UPM packages for Unity Test Frameworks - Move all NUnit test code to the proper folders and add proper .asmdef, instead of using .csproj
1 parent 7782c4c commit ae200af

35 files changed

+254
-360
lines changed

.github/workflows/test.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,10 @@ jobs:
132132
shell: bash
133133
timeout-minutes: 60
134134
run: |
135-
# DISABLE: NUnit test is currently broken from Unity 2019
136135
./gradlew test -q \
137136
-PINTERACTIVE_MODE_TESTS_ENABLED=0 \
138137
-PINCLUDE_TEST_TYPES="${{ needs.check_and_prepare.outputs.include_test_types }}" \
139-
-PEXCLUDE_TEST_TYPES="NUnit,${{ needs.check_and_prepare.outputs.exclude_test_types }}" \
138+
-PEXCLUDE_TEST_TYPES="${{ needs.check_and_prepare.outputs.exclude_test_types }}" \
140139
-PINCLUDE_TEST_MODULES="${{ needs.check_and_prepare.outputs.include_test_modules }}" \
141140
-PEXCLUDE_TEST_MODULES="${{ needs.check_and_prepare.outputs.exclude_test_modules }}" \
142141
-PEXCLUDE_TESTS="${{ needs.check_and_prepare.outputs.exclude_tests }}"

0 commit comments

Comments
 (0)