Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CreateSceneAttribute tests #19

Merged
merged 2 commits into from
Oct 22, 2023
Merged

Fix CreateSceneAttribute tests #19

merged 2 commits into from
Oct 22, 2023

Conversation

nowsprinting
Copy link
Owner

@nowsprinting nowsprinting commented Oct 22, 2023

I stopped using GameObject.Find.
Because of GameObject.Find finds objects in inactive scenes.

And refactor CreateSceneAttribute.

GameObject.Find finds objects in inactive scenes.
@github-actions github-actions bot added the chore label Oct 22, 2023
@github-actions
Copy link

Code Metrics Report

master (a37165d) #19 (0a109dc) +/-
Coverage 53.9% 54.1% +0.2%
Code to Test Ratio 1:0.9 1:0.9 +0.0
Test Execution Time 3m56s 4m1s +5s
Details
  |                     | master (a37165d) | #19 (0a109dc) |  +/-  |
  |---------------------|------------------|---------------|-------|
+ | Coverage            |            53.9% |         54.1% | +0.2% |
  |   Files             |               17 |            17 |     0 |
  |   Lines             |              458 |           451 |    -7 |
- |   Covered           |              247 |           244 |    -3 |
+ | Code to Test Ratio  |            1:0.9 |         1:0.9 |  +0.0 |
  |   Code              |              821 |           813 |    -8 |
- |   Test              |              703 |           702 |    -1 |
- | Test Execution Time |            3m56s |          4m1s |   +5s |

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

Files Coverage +/-
Runtime/Attributes/CreateSceneAttribute.cs 100.0% +8.3%

Reported by octocov

@nowsprinting nowsprinting merged commit bb38510 into master Oct 22, 2023
9 checks passed
@nowsprinting nowsprinting deleted the chore/fix_tests branch October 22, 2023 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant