This commit is contained in:
2025-01-17 13:10:42 +01:00
commit 4536213c91
15115 changed files with 1442174 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
{
"displayName": "Exercise 10: Solution",
"description": "This exercise will cover best practices and pitfalls for tests that have a long runtime, such as tests yielding back a WaitForSeconds.",
"interactiveImport": true
}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 62aac52cb6468b34aa9f1ad690ba283e
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,6 @@
{
"name": "PlayModeTests_10s",
"optionalUnityReferences": [
"TestAssemblies"
]
}

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 582e88313f55b20458bc0b9c7eb02a2f
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,18 @@
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
namespace PlayModeTests_10s
{
public class SlowTests
{
[UnityTest]
[Explicit, Category("integration")]
public IEnumerator ASlowTest()
{
yield return new WaitForSeconds(5);
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 8f316b8d42c3ffa428c0b1ac1d8d0783
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: