Skip to content

Conversation

@nowsprinting
Copy link
Owner

@nowsprinting nowsprinting commented Aug 12, 2025

Changes

  • Upgrade Unity to 6000.0.50f1
  • Remove examples of using UnityTest with TestCase, TestCaseSource, Sequential, and Pairwise attributes
  • Fix Unity versions used to run tests on CI
  • Uninstall net.tnrd.nsubstitute package
  • Add UnityNuGet registry settings
  • Install NSubstitute NuGet package v5.3.0
  • Install NSubstitute.Analyzers.CSharp NuGet package v1.0.17
  • Install NUnit Analyzers NuGet package v3.3.0

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link

github-actions bot commented Nov 6, 2025

Code Metrics Report

master (a2957bf) #39 (f009e25) +/-
Coverage 36.1% 38.1% +1.9%
Code to Test Ratio 1:3.4 1:4.1 +0.7
Test Execution Time 6m7s 4m51s -1m16s
Details
  |                     | master (a2957bf) | #39 (f009e25) |  +/-   |
  |---------------------|------------------|---------------|--------|
+ | Coverage            |            36.1% |         38.1% |  +1.9% |
  |   Files             |               27 |            25 |     -2 |
  |   Lines             |              487 |           451 |    -36 |
- |   Covered           |              176 |           172 |     -4 |
+ | Code to Test Ratio  |            1:3.4 |         1:4.1 |   +0.7 |
  |   Code              |             1299 |          1207 |    -92 |
+ |   Test              |             4443 |          5001 |   +558 |
+ | Test Execution Time |             6m7s |         4m51s | -1m16s |

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

Files Coverage +/- Status
/github/workspace/Assets/APIExamples/Scripts/Editor/UnityTestFramework/CallbacksExample.cs 42.8% -14.3% affected
/github/workspace/Assets/InputExample/Scripts/Runtime/FirstPersonControllerLegacy.cs 9.4% +9.4% affected
/github/workspace/Assets/InputSystemExample/Scripts/Runtime/FirstPersonController.cs 8.3% +8.3% affected
/github/workspace/Assets/InputSystemExample/Scripts/Runtime/GoalPlate.cs 12.5% +12.5% affected
./LocalPackages/com.nowsprinting.local-package-sample/Scripts/Editor/ExampleForCoverage.cs 0.0% -100.0% affected
./LocalPackages/com.nowsprinting.local-package-sample/Scripts/Runtime/ExampleForCoverage.cs 0.0% -100.0% affected
./Packages/com.nowsprinting.embedded-package-sample/Scripts/Editor/ExampleForCoverage.cs 0.0% -100.0% affected
./Packages/com.nowsprinting.embedded-package-sample/Scripts/Runtime/ExampleForCoverage.cs 0.0% -100.0% affected
Assets/APIExamples/Scripts/Runtime/Element.cs 60.0% 0.0% modified
Assets/BasicExample/Scripts/Runtime/Entities/CharacterStatus.cs 86.6% 0.0% modified
Assets/BasicExample/Scripts/Runtime/Entities/Enemy.cs 0.0% 0.0% modified
Assets/BasicExample/Scripts/Runtime/Entities/Enums/Element.cs 95.0% -1.9% modified
Assets/BasicExample/Scripts/Runtime/Entities/Player.cs 0.0% 0.0% modified
Assets/BasicExample/Scripts/Runtime/Entities/ScriptableObjects/Race.cs 0.0% 0.0% modified
LocalPackages/com.nowsprinting.local-package-sample/Editor/ExampleForCoverage.cs 100.0% +100.0% renamed
LocalPackages/com.nowsprinting.local-package-sample/Runtime/ExampleForCoverage.cs 100.0% +100.0% renamed
LocalPackages/com.nowsprinting.local-package-sample/Scripts/Editor/BuildAllScenesForTestPlayer.cs 0.0% 0.0% removed
Packages/com.nowsprinting.embedded-package-sample/Editor/ExampleForCoverage.cs 100.0% +100.0% renamed
Packages/com.nowsprinting.embedded-package-sample/Runtime/ExampleForCoverage.cs 100.0% +100.0% renamed
Packages/com.nowsprinting.embedded-package-sample/Scripts/Editor/BuildAllScenesForTestPlayer.cs 0.0% 0.0% removed

Reported by octocov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants