Home

co5e (21)
aliazzz hermsen i-campbell
There is a newer version of this page. You can find it here.


Project Members:



co♻e: A unittest framework for CODESYS based systems

This Page
Features | Tour | Download | Getting Started | Resources | Acknowledgements


avg reading: 3 minutes

Motivated by absence of a 'good and free' open source IEC61131-3 unit-testing solution.
Developed in Structured-Text for any CODESYS based system, MIT-licensed.
Forked with kind permission by Jakob Sagatowski from TcUnit for TwinCAT3.

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
Support for all popular CI/CD platforms
Part of CODESYS Forge CI/CD backend

Differences


Compared with TcUnit, co♻e has the following notable differences

| | co♻e | TcUnit | |
| ---------- | ---------- | ---------- | ---------- |
| | All CODESYS based platforms | Beckhoff specific | |
| | By design | Buffered logging to correct log message order | |
| | By design (IDE CLI command line) | Bespoke TcUnitRunner.exe for CI/CD | |
| | By design * | TcUnitRunner.exe generates xUnit reporting file | |
| | Not needed ** | TwinCAT ADS | |


* Both TcUnit and co♻e generate this file, but through co♻e mandatorily generated by the PLC
* * TwinCAT ADS is bespoke to Beckhoff

1/2 Easy Installation via .package and CODESYS installer

2/2 Easy Integration: E.g Jenkins

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.2.0.0 Package

We love to hear from you, so please take a moment to provide your valuable feedback

Browse the tag-repo and download yourself.
Or direct download via these links;
coUnit package
coUnit library
Verifier project
Simple Example project
Timed Test Example project
Timed Test2 Example project
Run In Sequence Example project

Previous version(s)

Getting started

A detailed step by step tutorial for the simple co♻e example project can be found here.

Resources

Userlist
If you have an interesting project in which you use the framework we can mention you.
A shortlist with users of the co♻e framework can be found here.

Wiki
The online API reference wiki can be found here.

Tutorial
A tutorial can be found here.

Bugs
Any found bugs can be reported here.

Acknowledgements

co♻e has been forked with kind permission by Jakob Sagatowski from TcUnit for TwinCAT3.

We are passionate software developers who maintain co♻e in spare time.
CODESYS fully supports us in our efforts by providing a free and open source platform for everybody to use.
Read more on #co5e


Project Members: