Lately, software testing has been on my mind. I’ve been trying to dial in the sweet spot where automated testing is directly profitable by decreasing net development time, and indirectly profitable by increasing the intangible perception of quality. Here’s the problem: unit testing can seem tedious. Prohibitively expensive. Tough to justify. Even intimidating! As a result, applications and application components can easily get starved of any form of automated testing. A colleague let me in on a secret that helps break down these misconceptions. It’s simple, and maybe even obvious, but it’s still a secret worth sharing: a unit is as big
Filtered by Category: JKI Labs
First, I’d like to thank everyone who attended my presentation at NIWeek 2011. I know that the room was a schlep for everyone since it was not in the typical presentation area, so I was really excited that the session was full! I’d also like to thank Michael Aivaliotis for helping me with impromptu technical support and a special guest appearance during the presentation with great comments about his own debugging tricks and tips. This presentation came about after I was working with several other JKI Engineers and it became obvious that many of us were using debugging techniques that others had
JKI’s VI Tester is a LabVIEW unit testing framework that helps developers write and execute automated tests to guarantee their software components work as designed. Although this usually means verifying that software components meet certain functional requirements, VI Tester can be used for creating other kinds of software tests, too. Instead of finding bugs, these tests can do things like perform status and configuration checks on your software, and work around pain points in the LabVIEW build process. Let’s look at one example. LabVIEW Checks for Broken VIs Late in the Build Process Recently I was working for a JKI customer on
I’m very excited to announce that VI Tester 1.1.2 has been released on the VI Package Network. As lead developer of VI Tester, I’m happy to tell you that this release fixes all of the known user-reported issues to date, as well a few other issues that we found internally at JKI. If you’re a VI Package Manager user, VI Tester 1.1.2 will automatically appear in your package list and you can install or upgrade in just a couple clicks. If you’re not a VIPM user, you can get started for free with VIPM Community Edition and be up and
Greg Sands has just released a very cool plug-in for the JKI Right-Click Framework (RCF) called “Open Typedef Wire.” It allows you to right-click on a wire and open its Type Definition control (if the wire is a typedef). The screenshot below shows how it works. Needless to say, this is very cool! Nice work, Greg!
We’ve just released VI Tester 1.1.1 on the VI Package Network. This release contains a fix for a minor bug that caused the VI Tester toolbar to not show up in the LabVIEW 2009 Project Explorer window. You can download & install this package using VI Package Manager. Just press the “Check the Network for Available Packages” button to refresh your package list, then install the jki_labs_tool_vi_tester-220.127.116.11-1 package.
JKI is pleased to announce the recent release of the JKI Right-Click Framework, from the JKI Labs, which allows you to install new features into LabVIEW right-click menu. And, we’re excited to show you some of the new LabVIEW features (right-click plugins) that the community has already created. Community Contributed RCF Plugins Build Array of References – builds an array control references on the block diagram for the selected FP controls or BD control terminals. Build Cluster of References – builds a typedef cluster of control references for the selected controls. Case Selector – allows you to view a list
JKI is excited to announce the upcoming release of the JKI Right-Click Framework for LabVIEW in the JKI Labs. This amazing tool allows you to create new features in LabVIEW and use new features created by other developers. It does this using the power of LabVIEW Scripting (using LabVIEW to programmatically edit LabVIEW code). How it Works The JKI RCF manages plug-ins (we call these “right-click plug-ins”). Each plug-in adds right-click menu options for different types of Block Diagram and Front Panel objects (functions, structures, controls, etc) in LabVIEW. When the user chooses one of the right-click menu options, the JKI
Have you ever set a reentrant VI to non-reentrant in order to facilitate debugging, only to forget to set the VI back to reentrant when you’re done? This mistake can be very tough to debug, as the difference in behavior (between reentrancy and non-reentrancy) can be very subtle. The same is true for other VI Settings (e.g. the subroutine Execution Priority setting). The point is, during development you may change some VI Properties in ways that make sense for debugging, but will cause bugs in your application if left that way. Forgetting to reset them to their correct values can cause huge
JKI is pleased to announce the release of VI Tester 1.1. This release fixes several issues reported by the community, and also adds some significant new features: A programmatic API so you can run tests and obtain their results from your own code. Several new toolbar buttons in your LabVIEW Project window so you can access VI Tester’s most common features right from your LabVIEW projects. The ability to export your test results to a text file and/or print them. We’re excited by the community’s response to VI Tester. We hope you find the new features in VI Tester 1.1