Initial commit

This commit is contained in:
max
2021-03-30 14:11:12 +02:00
commit 8a23ad5449
16 changed files with 250 additions and 0 deletions

View File

@ -0,0 +1,20 @@
{
"name": "COMPANYNAME.PACKAGENAME.Editor.Tests",
"references": [
"COMPANYNAME.PACKAGENAME",
"COMPANYNAME.PACKAGENAME.Editor"
],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"optionalUnityReferences": [
"TestAssemblies"
]
}

View File

@ -0,0 +1,26 @@
using UnityEngine;
using UnityEngine.TestTools;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
namespace COMPANYNAME.PACKAGENAME.Editor.Tests
{
public class TestEditorExample
{
[Test]
public void TestEditorExampleSimplePasses()
{
// Use the Assert class to test conditions
}
[UnityTest]
public IEnumerator TestEditorExampleWithEnumeratorPasses()
{
// Use the Assert class to test conditions.
// Use yield to skip a frame.
yield return null;
}
}
}