Skip to content
No description, website, or topics provided.
LabVIEW
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
InstaCoverage Unit Tests
.gitignore
Calculator.vi
Insert coverage as testcase.vi
InstaCoverage_CI_Demonstrator.lvproj
Jenkinsfile
Operation.ctl
ci-script.vi
readme.md

readme.md

InstaCoverage Continous Integration demonstrator

This project demonstrates how the API of InstaCoverage can be used to implement Jenkins-based continous integration (CI).

This GitHub repository hosts our example LabVIEW project and the following link points to our demo Jenkins server: Build Status

We made the following commits to the repository to demonstrate a typical CI workflow:

  1. In the first step (after the initial commit) we created the demo project which is a simple calculator project without unit tests.

  2. In the second step we added a unit test for the calculator VI but code coverage being under 100% makes the test fail.

  3. In the third step we fixed the test coverage (made it 100%) but the new test case discovered a bug in the implementation (divide by zero).

  4. In the fourth step we fixed the implementation error, which means that all tests are PASSED. As a result, the build displays a healthy (green) state.

You can’t perform that action at this time.