John Hoehner Posted April 15, 2020 Report Share Posted April 15, 2020 (edited) Hello All! I'm working on integrating the Caraya test framework into our CI process. As of now, we are using a Jenkins server to manage our builds, but I'm looking to add our Caraya unit tests to that equation. I'm relatively new to the CI world, but have a good amount of experience using Carayas built in test reporting functionality (the text report version). Ideally, upon unit test failure I would like to have the full report sent to the user via email showing them which unit tests did not pass. I know some of this is handled on the Jenkins side, but I'm more so curious about how to properly invoke the unit test VI within my project so that the results and report are available to Jenkins so they can then be emailed. Any and all insights here would be much appreciated. Thank you! Edited April 15, 2020 by John Hoehner Wrong Title! 1 Quote Link to comment Share on other sites More sharing options...
ChrisStrykesAgain Posted April 20, 2020 Report Share Posted April 20, 2020 John, check out "Test Runner Pre-build action.vi" in the 1.0 release. I'm not sure what the current version is on LVTN, but you can find 1.0 on GitHub: https://github.com/JKISoftware/Caraya/tree/release/1.0.0/src The first snippet below is the Pre-Build action itself, the second is the actual guts of where the test gets invoked. Let me know if that doesn't get you started in the right direction or you have more questions. 2 Quote Link to comment Share on other sites More sharing options...
Jim Kring Posted May 20, 2020 Report Share Posted May 20, 2020 Hey @John Hoehner and @ChrisStrykesAgain. Caraya 1.0 is officially released and in the wild! https://www.vipm.io/package/jki_lib_caraya/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.