Home

aliazzz h-hermsen




CODESYS Forge Unit Test Framework for Test Driven Development

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

CfUnit v1.1.0.0

'CfUnit' is motivated by absence of a 'good and free' open source IEC61131-3 automated unit-testing solution.
Developed in Structured-Text (IEC-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 Reduce bugs Well documented
4. Ready! Cleaner code Large user community
Integrates into popular CI/CD platforms like Jenkins/GitLab etc via xUnit XML reports
Pre-integrated into CForge CI/CD backend

Tour

1/4
Package Installation

2/4
Test Suite

3/4
Test Method

4/4
Calling CfUnit

Download

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

Download v1.1.0.0 Package

codesuccessful
Or download via these links or browse via the repo and download yourself
repo v1.1.0.0
CfUnit .package
CfUnit .library
Verifier .project
Simple Example .project
Timed Test .project
Timed Test2 .project

Previous version(s)
repo

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.
This wiki will soon be updated for v1.1.0.0

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 open source platform for all to use.

Forked with kind permission of Jakob Sagatowski from TcUnit for TwinCAT3.

Assistance provided by @aliazzz, @ingo and @i-campbell 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!