LabVIEW™ assertion library with expressive test failures that supports different unit test frameworks.
Explore the docs »
View Demo
Report Bug
Request Feature
Transparent Assertions provides a set of assertion functions for LabVIEW™ that are designed to be easy to use and provide expressive test failures that make it easy to understand what went wrong. The library is designed to be used with different unit test frameworks.
Transparent Assertions provides a wide range of assertion functions in the following categories:
- Boolean
- Collection (Array, Map, Set)
- Comparison
- Error
- Refnum
- String
- Type
Transparent Assertions supports the following unit test frameworks:
To get a local copy up and running follow these simple steps.
- LabVIEW™ 2017 or later
- VI Package Manager
Here is an example that uses Transparent Assertions with Caraya.
Caraya will display the test failure along with the assertion message and the expected and actual values.
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Keep in mind that LabVIEW™ VIs are binary files, which are difficult to merge.
- Only change a single VI or library.
- Avoid conflicts with other pull requests (don't work on the same libraries or VIs).
- Send VI Snippets (via issues) instead of pull requests when possible.
Distributed under the BSD-3-Clause License. See LICENSE
for more information.
Project Link: https://github.com/logmanoriginal/TransparentAssertions