Home

aliazzz




CODESYS Forge Unit Test Framework

Features | Tour | Download | Getting Started | Resources | FAQ | Acknowledgements

CfUnit

'CfUnit' is motivated by absence of a 'good and free' open source IEC61131-3 automated unit-testing solution.
Written in entirely in Structured-Text (ST) for CODESYS based PLC systems, MIT-licensed.

Features

Easy Powerful Free
1. Download Increase productivity Open-Source
2. Install Stimulate re-usability MIT-Licensed
3. Reference Reduces bugs Well documented
4. Ready! Cleaner code Large user community
V1.1 offers support for xUnit XML reports
Integrated into the CForge CI/CD backend (beta)

Tour

"1/4"
"TestSuite"
"2/4"
"TestMethod"
"3/4"
"programcall"

"3/4"
"installation"

Download

By downloading and using our library you abide by the MIT License
The package contains all components in a convenient single installer.

Download v1.0.0.0 Package

codesuccessful
However you can also download via these links or browse the repo and download yourself.
Code Repo v1.0.0.0
CfUnit .package
CfUnit .library
Verifier .project
Timed Test .project
Simple Example .project
.compiled-library

Getting started

A detailed step by step tutorial for the Simple CfUnit example project can be found here.

Resources

Userlist
A list of some users of the CfUnit framework can be found here.

Wiki
The online API reference wiki can be found here.

Tutorial
A tutorial can be found here.

Code
The code repository can be found here.

Bugs
Any found bugs can be reported here.

FAQ

Any questions? You can browse them here.
Posted questions can be moderated into the FAQ for future reference.

Acknowledgements

We are passionate software developers who develop & maintain CfUnit in our spare time.
CODESYS only supports us in our efforts by providing a free and opensource platform for all to use.
Forked with kind permission of Jakob Sagatowski from TcUnit for TwinCAT3
Assistance provided by zer0g & Ingo was greatly appreciated. Without their assistance, porting alone would have taken me several months.
Kudos for helping me out with various tickets and providing invaluable feedback!


Aliazzz

Project Members:


Related

Tutorial: Tutorial
API Reference: v1.0.0.0