Jump to content

Daklu

Members
  • Posts

    36
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by Daklu

  1. I ran across a problem in a project where, after creating and initializing the class under test in the setUp VI, unbundling it in the test VI returns a default object rather than the one I instantiated.

    setUp.vi

    Capture.PNG.741e85a381e319a7d0ef3e5fb445f83d.PNG

     

    testCount.vi

    Capture.PNG.e2ac12e4eab595da7b883fdc2a39e5ae.PNG

     

    I've attached a project with the class under test (ListImp) and two test cases.  Both test cases have (as near as I can tell) identical setUp code and identical code in the test method (testCount).  However, one test passes while the other test fails.  Any idea what's causing this?

    [Edit - The about box reports "version 3.0.1.294 (Feb 11 2019)".]

    [Edit 2 - Another piece of potentially relevant information is the Test_ListImp..._2 test class was brought forward from an older version of VI Tester.  I don't know what version, but according to my repository it was sometime before Feb. 2013.  The other test class (the one that passed) was created with the current version of VI Tester.] 

    Capture.PNG.f4462ebacda0c08e87070338b0e57aa4.PNG

    VI Tester Error.zip

    • Like 1
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.