Šī lapa labāk darbojas, ja pārlūkam ir iespējots JavaScript.
Sākums
Izpētīt
Palīdzība
Pierakstīties
GCM-OTHER
/
ICS-SCADA-APP-WEN
Vērot
4
Pievienot zvaigznīti
0
Atdalīts
0
Kods
Problēmas
0
Izmaiņu pieprasījumi
0
Laidieni
0
Vikivietne
Aktivitāte
Nav apraksta
Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
4
Revīzijas
1
Atzars
Koks:
00d4ad5e5c
master
Atzari
Tagi
${ item.name }
Izveidot atzaru
${ searchTerm }
no '00d4ad5e5c'
${ noResults }
ICS-SCADA-APP-WEN
/
Library
/
PackageCache
/
com.unity.test-framework
/
Documentation~
/
TableOfContents.md
TableOfContents.md
6.3KB
Vēsture
Neapstrādāts
Unity Test Framework overview
What’s new
Edit Mode vs. Play Mode tests
Getting started with UTF
How to create a new test assembly
How to create a test
How to run a test
How to run a Play Mode test as standalone
Extending UTF
How to split the build and run process for standalone Play Mode tests
How to run tests programmatically
How to get test results
How to retrieve the list of tests
Reference
Running tests from the command-line
Test settings file
UnityTest attribute
Setup and cleanup at build time
IPrebuildSetup
IPostBuildCleanup
Actions outside of tests
Action execution order
UnitySetUp and UnityTearDown
OuterUnityTestAction
Domain Reloads
Custom attributes
ConditionalIgnore attribute
ParameterizedIgnore attribute
PostBuildCleanup attribute
PrebuildSetup attribute
TestMustExpectAllLogs attribute
TestPlayerBuildModifier attribute
TestRunCallback attribute
UnityPlatform attribute
UnitySetUp attribute
UnityTearDown attribute
UnityTest attribute
Custom equality comparers
ColorEqualityComparer
FloatEqualityComparer
QuaternionEqualityComparer
Vector2EqualityComparer
Vector3EqualityComparer
Vector4EqualityComparer
Custom equality comparers with equals operator
Test Utils
Custom yield instructions
IEditModeTestYieldInstruction
EnterPlayMode
ExitPlayMode
RecompileScripts
WaitForDomainReload
Custom assertion
LogAssert
Custom constraints
Is
Parameterized tests
MonoBehaviour tests
MonoBehaviourTest<T>
IMonoBehaviourTest
TestRunnerApi
ExecutionSettings
Filter
ITestRunSettings
ICallbacks
IErrorCallbacks
Async tests
Learn Unity Test Framework
Overview
General introduction
Intro
Running a test in a Unity project
Arrange, act, assert
Semantic test assertion
Custom comparison
Asserting logs
Setup and teardown
Play mode tests
Play mode tests in a player
Using the UnityTest attribute
Long-running tests
Scene-based tests
Setup and cleanup at build time
Domain reload
Preserve test state
Test cases
Custom attributes
Running tests programmatically
Testing Lost Crypt
Intro
Setting up
Running a test in LostCrypt
Moving character
Reach wand test
Collision test
Asset change test
Scene validation test
Performance tests
Resources