Tests are like bicycle helmets
Listening to a podcast and heard: “You would never put a kid on a bicycle without a helmet, so why teach someone to code without tests?”
Listening to a podcast and heard: “You would never put a kid on a bicycle without a helmet, so why teach someone to code without tests?”
There is a lot of information about Unit Testing in LabVIEW, but not about Unit Testing for Real-Time targets. Learn how to test on LVRT.
Playful practice is important. We need an arena with no consequences where we can try out different ideas to see which ones work best. Kata gives us this arena.
Adding seams to your code is a technique that makes it easier to use test doubles or mock objects to test hard-to-test-code.
How do you distribute reusable test code such as Test Doubles and Mock Objects? I hadn’t thought about it until a student in my Unit Testing Workshop asked.
In January we ran our first Unit Testing Workshop. It went well but we learned a few things that are going to make the next class even better.
Is one of your goals to learn unit testing? If not, perhaps it should be. Here are some tips and tricks for getting started.
Stop treating refactoring and unit testing as separate activities. They are integral to writing code.
Caraya is another popular unit test tool out there for LabVIEW. It can also be used as an assertion tool.
Check out our next webinar to learn how you can use refactoring to improve the way you design software and to eliminate friction in your daily development activities.