Thomas Robertson Posted September 17, 2015 Report Share Posted September 17, 2015 We have a fairly large application (5,000+ vi's, 20 years of development). Much like the Software Engineering books promise will happen, adding functionality without breaking something is proving to be almost impossible. We would like to get into automated testing/test driven development and I'm trying to come up with a framework for making that happen. The framework would need to sync to the latest code changes throughout the day and run thousands of test cases and report any failures. Futhermore it would need to do overnight testing of long tests (e.g. performance, memory leak) and probably weekly tests. At first I looked into the LabVIEW unit test framework and figured we could make lots of unit tests and have a program which simply scours our sourcecode directories and executes any unit tests and generates a report. However, the unit test framework only works on Windows x86. Our software runs on x86, x64, and MacOS x64. The JKI "VI Tester" may also be a possibility for creating test cases. That said looking at the roadmap it appears that it doesn't allow for automated running of test cases. I'm also a bit worried that about whether VI Tester is something that will be around long term or if it's getting deprecated by NI's Unit Test Framework. I know that there's plenty of framework's outside LabVIEW such as Google's gtest and I'm wondering if using such an outside tool with individual test cases interfacing to LabVIEW might make sense? Who's done this before? Since it's supposedly a cornerstone in agile development I would think there should be an off the shelf answer for this. Quote Link to comment
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.