We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2189d7d commit 96fe9c6Copy full SHA for 96fe9c6
Assets/Test/Editor/MyTest.cs
@@ -1,11 +1,10 @@
1
using litefeel;
2
+using NUnit.Framework;
3
using UnityEditor;
4
-public class MyTest {
5
-
6
- // Use this for initialization
7
8
- //[InitializeOnLoadMethod]
+public class MyTest
+{
+ [Test]
9
public static void Test () {
10
AssetDatabase.DeleteAsset("Assets/Plugins/BitmapFontImporter/Examples/Font1/font1.fontsettings");
11
AssetDatabase.DeleteAsset("Assets/Plugins/BitmapFontImporter/Examples/Font2/font2.fontsettings");
Scripts/build.sh
@@ -9,7 +9,7 @@ echo "Run test "
-silent-crashes \
-logFile $(pwd)/unity.log \
-projectPath $(pwd) \
12
- -executeMethod MyTest.Test \
+ -runEditorTests \
13
-quit
14
15
code=$?
0 commit comments