Unit Testing As An Aid For API Development software engineering unit testing Jul 22, 2019

If you follow Test Driven Development (TDD) the first step is always to write your unit tests before you write your code. Well in LabVIEW that doesn’t work out quite so well because you need to have a subvi to drop into your test case.

When trying TDD, the first hurdle you run into is that...
Continue Reading...
Unit Testing as Bug Repellant software engineering unit testing Jul 15, 2019
Just like mosquito bites, many software bugs are simply annoying. However, just like some mosquitoes can transmit harmful diseases, some software bugs can cause a lot of harm. This is particularly true when using LabVIEW to control real-world hardware.

Nobody likes bugs, whether they are...

Continue Reading...
Unit Testing as a Delegation Tool software engineering unit testing Jul 08, 2019

Delegation is hard. There are a variety of reasons, but there are two things I’ve heard quite often from customers, and they are related. They have trouble specifying and clearly communicating the exact requirements to the person they are delegating to. They also have trouble verifying that...

Continue Reading...
See us at CLA Summit 2019 conferences Jul 03, 2019
Register Today!

We just received word that our submission at NI Week was accepted.

Unit Testing at Mock Speed

We will be talking about using some new tools me have developed for creating Mock Objects in LabVIEW for Unit Testing. A mock object is a kind of test double. Just like a stunt double...

Continue Reading...
Unit Testing as Documentation software engineering unit testing Jul 01, 2019

Comments and documentation often lie. The only truth is the code.

Steve Watts commenting on Chris Stryker’s Clean Code presentation at NIWeek 2019

Now I don’t think Steve is accusing the developer who wrote the code or documentation of deliberately lying, but we’ve probably all...

Continue Reading...
Unit Testing as a Safety Net software engineering unit testing Jun 24, 2019

Since I recently finished reading xUnit Test Patterns and my upcoming webinar is on Unit Testing, I have been thinking a lot about it lately. I thought I would expand on some of the ways in which I find unit testing incredibly useful.

Most of wouldn’t even think of...

Continue Reading...
Using Maps As A Better Way To Pass Command Line Arguments how to Jun 17, 2019

So for those who don’t know, LabVIEW 2019 incorporates some new datatypes: Sets and maps. Piotr  Kruczkowsk has been posting a bunch of possible use cases on Twitter. You can see them here. Peter has inspired me to come up with one of my own.

The problem with CLI...

Continue Reading...
NI Week 2019 Recap conferences Jun 10, 2019

I had a great time at NI Week this year. As always it was a bit of a party, although this year I skipped the Spazmatics after party after party on Wednesday night since I had to present early on Thursday. The highlight was definitely hearing Scott Kelly speak on Thursday afternoon. He had some...

Continue Reading...
June 2019 Webinar webinars Jun 03, 2019

How do I make sure my code works?

If you have ever asked that question then this presentation is for you. Find out how unit testing can help you verify that your code works and help you track down bugs when it doesn’t.

We’ll talk about the basics of unit testing using JKI Vi Tester....

Continue Reading...
XUnit Test Patterns book reviews software engineering unit testing May 27, 2019

If you want to know everything there is to know about xUnit Testing, then xUnit Test Patterns by Gerard Meszaros is the book for you. I must warn you, it is not light reading (it’s almost 900 pages) and it is not geared towards beginners. You should at least be familiar with the concept of...

Continue Reading...
NI Week – Why all the hype? conferences May 20, 2019

Today is the first day of NI Week 2019. What is NI Week? It’s only the largest gathering of LabVIEW enthusiasts in the world! My friend John jokingly refers to it as something akin to a Star Trek Convention. Granted there is a bit of geekiness going on there, but since when is that a...

Continue Reading...
My Origins Story May 13, 2019

I recently sat down for an interview with Ram Gurung. We talked a lot about how I got into LabVIEW and the ensuing adventures. I also give a brief overview of my upcoming presentation at NI Week.

Ram has a lot of really great LabVIEW videos and tutorials on his LabVIEW...

Continue Reading...