Skip to content

Parameterized testing with typed arrays #561

Locked Answered by MikeSchulze
joshuafolkken asked this question in Q&A
Discussion options

You must be logged in to vote

It is an issue with the typed array, when you check the errors you can see:

E 0:00:02:0063   _TestCase.gd:89 @ _execute_test_case(): Error calling method from 'callv': 'Node(test.gd)::test_b': Cannot convert argument 1 from Array to Array.
  <C++ Error>    Method/function failed. Returning: Variant()
  <C++ Source>   core/object/object.cpp:748 @ callv()
  <Stack Trace>  _TestCase.gd:89 @ _execute_test_case()
                 _TestCase.gd:71 @ execute_paramaterized()
                 GdUnitTestCaseParameterSetTestStage.gd:9 @ _execute()
                 IGdUnitExecutionStage.gd:19 @ execute()
                 GdUnitTestCaseParameterizedTestStage.gd:43 @ _execute()
                 IGdUnitE…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@joshuafolkken
Comment options

Answer selected by MikeSchulze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working clarified
2 participants