UnityTestExamples icon indicating copy to clipboard operation
UnityTestExamples copied to clipboard

Upgrade Unity to 2021 LTS

Open nowsprinting opened this issue 2 years ago • 6 comments

  • Upgrade Unity to 2021.3.45f1
  • Remove Unity under 2021 from running tests on CI
  • Remove net.tnrd.nsubstitute
  • Turn off "Assembly Version Validation"
  • Install NSubstitute v5.3.0
  • Install NSubstitute.Analyzers.CSharp v1.0.17
  • Install NUnit Analyzers v3.3.0

nowsprinting avatar Nov 11 '23 21:11 nowsprinting

Code Metrics Report

master (431e921) #17 (9f9075e) +/-
Coverage 37.1% 37.1% 0.0%
Code to Test Ratio 1:44.4 1:39.0 -5.5
Test Execution Time 3m54s 3m50s -4s
Details
  |                     | master (431e921) | #17 (9f9075e) |  +/-  |
  |---------------------|------------------|---------------|-------|
  | Coverage            |            37.1% |         37.1% |  0.0% |
  |   Files             |               30 |            30 |     0 |
  |   Lines             |              507 |           507 |     0 |
  |   Covered           |              188 |           188 |     0 |
- | Code to Test Ratio  |           1:44.4 |        1:39.0 |  -5.5 |
  |   Code              |             1334 |          1334 |     0 |
- |   Test              |            59279 |         51994 | -7285 |
+ | Test Execution Time |            3m54s |         3m50s |   -4s |

Code coverage of files in pull request scope (0.0% → 0.0%)

Files Coverage +/-
Assets/InputSystemExample/Scripts/Runtime/Input/PlayerInputActions.cs 0.0% 0.0%

Reported by octocov

github-actions[bot] avatar Nov 12 '23 04:11 github-actions[bot]

Code Metrics Report

master (431e921) #17 (a9cdae1) +/-
Coverage 37.1% 37.1% 0.0%
Code to Test Ratio 1:44.4 1:39.0 -5.5
Test Execution Time 3m54s 4m11s +17s
Details
  |                     | master (431e921) | #17 (a9cdae1) |  +/-  |
  |---------------------|------------------|---------------|-------|
  | Coverage            |            37.1% |         37.1% |  0.0% |
  |   Files             |               30 |            30 |     0 |
  |   Lines             |              507 |           507 |     0 |
  |   Covered           |              188 |           188 |     0 |
- | Code to Test Ratio  |           1:44.4 |        1:39.0 |  -5.5 |
  |   Code              |             1334 |          1334 |     0 |
- |   Test              |            59279 |         51994 | -7285 |
- | Test Execution Time |            3m54s |         4m11s |  +17s |

Code coverage of files in pull request scope (0.0% → 0.0%)

Files Coverage +/-
Assets/InputSystemExample/Scripts/Runtime/Input/PlayerInputActions.cs 0.0% 0.0%

Reported by octocov

github-actions[bot] avatar Nov 15 '23 04:11 github-actions[bot]

Code Metrics Report

master (91b9a15) #17 (b8fd5ac) +/-
Coverage 37.1% 37.1% 0.0%
Code to Test Ratio 1:44.4 1:39.0 -5.5
Test Execution Time 6m2s 3m19s -2m43s
Details
  |                     | master (91b9a15) | #17 (b8fd5ac) |  +/-   |
  |---------------------|------------------|---------------|--------|
  | Coverage            |            37.1% |         37.1% |   0.0% |
  |   Files             |               30 |            30 |      0 |
  |   Lines             |              507 |           507 |      0 |
  |   Covered           |              188 |           188 |      0 |
- | Code to Test Ratio  |           1:44.4 |        1:39.0 |   -5.5 |
  |   Code              |             1334 |          1334 |      0 |
- |   Test              |            59279 |         51994 |  -7285 |
+ | Test Execution Time |             6m2s |         3m19s | -2m43s |

Code coverage of files in pull request scope (0.0% → 0.0%)

Files Coverage +/-
Assets/InputSystemExample/Scripts/Runtime/Input/PlayerInputActions.cs 0.0% 0.0%

Reported by octocov

github-actions[bot] avatar Nov 15 '23 06:11 github-actions[bot]

Code Metrics Report

master (4323066) #17 (061c03a) +/-
Coverage 37.1% 37.1% 0.0%
Code to Test Ratio 1:36.3 1:39.5 +3.2
Test Execution Time 5m28s 4m9s -1m19s
Details
  |                     | master (4323066) | #17 (061c03a) |  +/-   |
  |---------------------|------------------|---------------|--------|
  | Coverage            |            37.1% |         37.1% |   0.0% |
  |   Files             |               30 |            30 |      0 |
  |   Lines             |              507 |           507 |      0 |
  |   Covered           |              188 |           188 |      0 |
+ | Code to Test Ratio  |           1:36.3 |        1:39.5 |   +3.2 |
  |   Code              |             1334 |          1334 |      0 |
+ |   Test              |            48371 |         52636 |  +4265 |
+ | Test Execution Time |            5m28s |          4m9s | -1m19s |

Reported by octocov

github-actions[bot] avatar Jan 26 '24 09:01 github-actions[bot]

Code Metrics Report

master (90d1636) #17 (4f26d05) +/-
Coverage 37.0% 37.0% 0.0%
Code to Test Ratio 1:3.2 1:3.2 0.0
Test Execution Time 4m47s 4m7s -40s
Details
  |                     | master (90d1636) | #17 (4f26d05) | +/-  |
  |---------------------|------------------|---------------|------|
  | Coverage            |            37.0% |         37.0% | 0.0% |
  |   Files             |               30 |            30 |    0 |
  |   Lines             |              507 |           507 |    0 |
  |   Covered           |              188 |           188 |    0 |
  | Code to Test Ratio  |            1:3.2 |         1:3.2 |  0.0 |
  |   Code              |             1381 |          1381 |    0 |
  |   Test              |             4482 |          4482 |    0 |
+ | Test Execution Time |            4m47s |          4m7s | -40s |

Reported by octocov

github-actions[bot] avatar Oct 12 '24 14:10 github-actions[bot]