Unit Testing Group

cancel
Showing results for 
Search instead for 
Did you mean: 

Testing Events With VI Tester (Other frameworks may copy!)

Hi Testers,

 

I created myself a new template for testing event-based APIs and wrote up a blog about it at https://devs.wiresmithtech.com/blog/testing-events-vi-tester/. It's not revolutionary but it is simple and seems to work well.

I've also updated my VITAC tool (VI tester advanced comparisons) to include this and my given, when, then template. You can get it from https://github.com/WiresmithTech/VITAC under the releases section.

 

Let me know if you have any feedback.

 

Cheers,

James

James Mc
========
Ask me about Rust & NI Hardware
My writings are at https://www.wiresmithtech.com/devs/
0 Kudos
Message 1 of 4
(4,428 Views)

James,

 

Installed 1.1.0.7 and download the VITAC-1.1.0 source files from your github.com link.

But when I load up the project there is a load on conflicts with what's in vi.lib that I cannot resolve!

 

 

Regards
Ray Farmer
0 Kudos
Message 2 of 4
(4,409 Views)

Hi Ray,

 

I noticed a similar problem, there's a bad link somewhere! Will hopefully have an update in the next few days to fix it.

 

Everything should work from vi.lib, but it grumbles when you drop templates which I think is related - again it works if you click through

James Mc
========
Ask me about Rust & NI Hardware
My writings are at https://www.wiresmithtech.com/devs/
0 Kudos
Message 3 of 4
(4,406 Views)

Hi Ray,

 

I found the conflict (I think it was actually the type of a broken wire in one of the templates!). I've pushed a release v1.1.1 with that fixed (and a couple of doc and example improvements as I'm working to get this on the tools network)

 

You can get it from https://github.com/WiresmithTech/VITAC/releases/tag/v1.1.1

 

Cheers,

James

James Mc
========
Ask me about Rust & NI Hardware
My writings are at https://www.wiresmithtech.com/devs/
0 Kudos
Message 4 of 4
(4,382 Views)