LabVIEW Champions Reading Resource Center

Highlighted

Recommended Books on Unit Testing?

I've heard a few different people mention "The Art of Unit Testing" but I don't currently know C# and I don't see it being used in the projects I tend to work on. I've also been looking at "Test-Driven Development: By Example" but haven't talked to anyone who has read that one.

 

Any recommendations are appreciated.

Matt J | National Instruments | CLA

GCentral
0 Kudos
Message 1 of 2
(34 Views)
1 REPLY 1

Re: Recommended Books on Unit Testing?

I picked up xUnit Test Patterns many years ago and think it's very good if you're using JKI's VI Tester (which is based on the xUnit family.)  It's probably somewhat less useful if you're using NI's Unit Test Framework.

 

The first 14 chapters (~185 pages) are mainly a higher level discourse on unit testing.  To be honest, I found this part of the book the most useful.

The next 3 chapeters (~90 pages) cover test smells.

The remaining 2/3 of the book explains the patterns, of which there are about 60.

 

The examples are a mix of Ruby, C#, and Java.  You don't need to be able to code in those languages to figure out what is happening, but you probably do need to have some familiarity with text languages.  I suggest browsing through the sample pages on Amazon and reviewing the code.

 

0 Kudos
Message 2 of 2
(9 Views)
Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.