Skip to content

Commit

Permalink
Merge pull request #35 from nowsprinting/chore/readme
Browse files Browse the repository at this point in the history
Mod README.md
  • Loading branch information
nowsprinting authored Oct 29, 2023
2 parents f20e060 + 2b471e3 commit 269e7a5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public class MyTestClass

> **Warning**
> Wait for one frame to apply resolution.
> However, if used with [CreateSceneAttribute](#CreateScene) or [LoadSceneAttribute](#LoadScene), wait is not necessary.
> **Note**
> In batchmode, open `GameView` window.
Expand Down Expand Up @@ -144,6 +145,10 @@ public class MyTestClass

`CreateSceneAttribute` is an NUnit test attribute class to create new scene before running test.

It has the following benefits:

- Can be use same code for running Edit Mode tests, Play Mode tests in Editor, and on Player

This attribute can attached to test method only.
Can be used with sync Test, async Test, and UnityTest.

Expand Down Expand Up @@ -181,7 +186,7 @@ public class MyTestClass

It has the following benefits:

- Can be used when running Edit Mode tests, Play Mode tests in Editor, and on Player
- Can be use same code for running Edit Mode tests, Play Mode tests in Editor, and on Player
- Can be specified scenes that are **NOT** in "Scenes in Build"

This attribute can attached to test method only.
Expand Down

0 comments on commit 269e7a5

Please sign in to comment.