CfUnit — CODESYS Forge Unit Testing framework

'CfUnit' is motivated by absence of 'good and free' open source IEC61131-3 automated unit-testing solutions. Developed in ST for CODESYS based PLC systems. MIT-Licensed

Download

Features

Easy

Download,
Install,
Reference,
Ready!

Powerful

Higher productivity,
Fewer bugs,
Cleaner code,
CI/CD integration*
*under development

Free

MIT-Licensed

Tour

Getting started

Getting started
All you need to do is to download & install the library and provide a
reference of the CfUnit-library in your project. Now you are ready and
you can start to write your test code.

API
Online API reference can be found here.

Bugs
Bugs can be reported by opening a ticket here.

Q&A
If you have any questions, you can drop them here.
If you cannot find your anwser, you can always drop a question in the comment.
Posted questions will be modderated into the Q&A for future reference.

Download

CfUnit.Package
This package contains all you need:
CfUnit v1.0.0.0 Library,
Verifier Project,
Simple Example Project.
Download

About

Kudos to Jakob Sagatowski for his kind permission to port his testing framework to CODESYS. Assistance provided by zer0g & Ingo was greatly appreciated. Without their assistance the porting alone would have taken me several months. Kudos for helping out with various tickets and providing valueable feedback!

Ported from TcUnit v0.9.0.0 originally written for TwinCAT3 by Jakob Sagatowski.