diff --git a/src/massive/munit/TestClassHelper.hx b/src/massive/munit/TestClassHelper.hx index db4b4a2..55cbf5f 100644 --- a/src/massive/munit/TestClassHelper.hx +++ b/src/massive/munit/TestClassHelper.hx @@ -91,6 +91,8 @@ class TestClassHelper * Meta tag marking test method in class for execution in debug mode only. */ public inline static var META_TAG_TEST_DEBUG:String = "TestDebug"; + + public inline static var META_TAG_ASYNC_TEST_DEBUG:String = "AsyncTestDebug"; /** * Array of all valid meta tags. @@ -101,7 +103,8 @@ class TestClassHelper META_TAG_AFTER, META_TAG_TEST, META_TAG_ASYNC_TEST, - META_TAG_TEST_DEBUG]; + META_TAG_TEST_DEBUG, + META_TAG_ASYNC_TEST_DEBUG]; /** * The type of the test class this helper is wrapping. @@ -312,6 +315,9 @@ class TestClassHelper case META_TAG_TEST_DEBUG: if (isDebug) addTest(fieldName, func, test, isAsync, isIgnored, description); + case META_TAG_ASYNC_TEST_DEBUG: + if (isDebug) + addTest(fieldName, func, test, true, isIgnored, description); } } }