diff --git a/Assets/Scenes/Tests.meta b/Assets/Scenes/Tests.meta new file mode 100644 index 0000000..eb1f5be --- /dev/null +++ b/Assets/Scenes/Tests.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8a2558ddd9c264143b4ecaade0d20365 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/Tests/NewTestScript.cs b/Assets/Scenes/Tests/NewTestScript.cs new file mode 100644 index 0000000..156fa4a --- /dev/null +++ b/Assets/Scenes/Tests/NewTestScript.cs @@ -0,0 +1,28 @@ +using System.Collections; +using System.Collections.Generic; +using NUnit.Framework; +using UnityEngine; +using UnityEngine.TestTools; + +namespace Tests +{ + public class NewTestScript + { + // A Test behaves as an ordinary method + [Test] + public void NewTestScriptSimplePasses() + { + Assert.IsTrue(true); + } + + // A UnityTest behaves like a coroutine in Play Mode. In Edit Mode you can use + // `yield return null;` to skip a frame. + [UnityTest] + public IEnumerator NewTestScriptWithEnumeratorPasses() + { + // Use the Assert class to test conditions. + // Use yield to skip a frame. + yield return null; + } + } +} diff --git a/Assets/Scenes/Tests/NewTestScript.cs.meta b/Assets/Scenes/Tests/NewTestScript.cs.meta new file mode 100644 index 0000000..e282813 --- /dev/null +++ b/Assets/Scenes/Tests/NewTestScript.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e148bd54ff07343398a805616a2937ae +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/Tests/Tests.asmdef b/Assets/Scenes/Tests/Tests.asmdef new file mode 100644 index 0000000..45bb135 --- /dev/null +++ b/Assets/Scenes/Tests/Tests.asmdef @@ -0,0 +1,6 @@ +{ + "name": "Tests", + "optionalUnityReferences": [ + "TestAssemblies" + ] +} diff --git a/Assets/Scenes/Tests/Tests.asmdef.meta b/Assets/Scenes/Tests/Tests.asmdef.meta new file mode 100644 index 0000000..d39bec0 --- /dev/null +++ b/Assets/Scenes/Tests/Tests.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: a65403f09d9184e738a3dff4a10bb33b +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: