What a crossword puzzle can teach us about programming continuous integration software engineering unit testing Apr 06, 2022

This is the USA Today Crossword puzzle. The left is in expert mode. Note there is no feedback. The right shows the same crossword puzzle in casual mode with some feedback. Note that the word burn is a 4-letter word that mears scorch, but is not the correct word. In expert mode, there is no way...
Continue Reading...
How I use Test-Driven Development (TDD) software engineering unit testing Oct 27, 2021

Classic TDD Loop

A lot of people out there are very dogmatic about Test Driven Development. There’s a lot rules and a lot of very strong opinions. If you don’t believe me, go check out Twitter. While on Twitter, I saw GeePaw Hill’s Ten I statements about TDD. It inspired...

Continue Reading...
Tests are like bicycle helmets python software engineering unit testing Nov 16, 2020

I was listening to the IEEE’s SE Radio podcast the other day while riding my bike to work (ironic as you will see if you keep reading). They were interviewing Ken Youens-Clark who wrote a book called Tiny Python Projects.

You would never put a kid on a bicycle without a...

Continue Reading...
Unit Testing on Real Time Targets unit testing Nov 02, 2020

I’ve written a lot previously on unit testing and the value of unit tests. I try very hard to write unit tests for all my software and i try to use Test Driven Development (TDD) as much as I can. It’s not always easy.

I just started a Real Time (RT) project...

Continue Reading...
A Great Intro To Unit Testing book reviews unit testing Jun 03, 2020

As many of you may know Fabiola De la Cueva and Richard Jennings came out with a new LabVIEW book this year (actually the 5th edition of an existing book) LabVIEW Graphical Programming. I have been meaning to write a review, but I have put it off because I haven’t had time to read the...

Continue Reading...
Importance of practice – Katas coding philosophy kata software engineering unit testing May 12, 2020

So I have been listening to the maintainable podcast a lot lately. There is a lot of talk on there about doing coding katas. It also comes up a lot on twitter. I had never really done any. Then I took a udemy class on TDD in Python and it had you do some katas. I thought it...

Continue Reading...
Unit Testing And Seams unit testing Mar 30, 2020

One of the topics I found very interesting form the Art Of Unit Testing was seams. I wanted to write a blog post to explore that a little bit.

What is a Seam?

Seams are places in your code where you can plug in different functionality …

Art of Unit Testing, 2nd edition page 54
...
Continue Reading...
Distributing Test Doubles and Mocks unit testing Mar 11, 2020

One of the questions that came up in our recent Unit Testing Workshop was:

How do I distribute reusable test code such as Test Doubles and Mock Objects?

This question caught me by surprise. It wasn’t something I had really thought a lot about. I had typically just been making them each as...

Continue Reading...
Unit Testing Workshop Lessons Learned unit testing Mar 09, 2020

At the end of January, we ran a Unit Testing Workshop. It went well. We had 7 participants. They included a LabVIEW Champion, and several CLAs. Overall the reviews were positive, but it was clear that there were some things that could be improved for the next time.

  1. The Workshop needs to be...
Continue Reading...
Unit Testing – Tips For Getting Started software engineering unit testing Jan 06, 2020

It’s a new year, so it is a good time to start planning and setting some goals for this year. If you are not currently using unit testing, starting to use it would be a great goal for the new year.

People often struggle when starting to learn unit testing. There is a hurdle, similar to...

Continue Reading...
Stop Asking Permission coding philosophy software engineering unit testing Nov 25, 2019

I was originally going to title this post “A Business Case for Unit Testing”. I was going to talk about how it helps you to find bugs early, spend less time debugging, and all the other benefits I have mentioned in my previous posts. I intended it as a cheat sheet to help developers...

Continue Reading...
Caraya Review how to software engineering software tools unit testing Nov 18, 2019

Caraya is a popular Unit Testing solution from JKI. Compared to JKI VI Tester, Caraya seems to be newer and better supported. In fact while conducting this review I found a small bug. I reported it and it was fixed within 24 hours.

The Caraya paradigm is different from the xUnit paradigm. It is...

Continue Reading...
1 2 3