You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if it's caused by @only because without it I'm getting this error
namespace tests
@only
@SGNode("GqlTask")
@suite
class GqlTaskTests extends tests.BaseTestSuite
@describe("runGqlTask")
@it("calls the success/finish callbacks when the task succeeds")
function _()
m.assertEqual(true, true)
end function
end class
end namespace
BaseTestSuite
namespace tests
class BaseTestSuite extends rooibos.BaseTestSuite
private appController
protected override function setup()
? "### BaseTestSuite init"
m.global.addFields({
"rooibosInitSetupBug": false
})
end function
end class
end namespace
GqlTask - the node I want to test
sub init()
m.top.functionName = "execute"
? "### test" type(m.global.rooibosInitSetupBug)
Output
Starting test using test scene with name TestsSceneTestsScene
scene is ready; running tests now
> SUITE: GqlTaskTests>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
+++++RUNNING NODE TEST
node type is GqlTaskTests
### testInvalid
The text was updated successfully, but these errors were encountered:
Not sure if it's caused by
@only
because without it I'm getting this errorBaseTestSuite
GqlTask - the node I want to test
Output
The text was updated successfully, but these errors were encountered: