TcUnit is an xUnit type of framework specifically done for Beckhoffs TwinCAT3 development environment. It consists of a single library that is easily integrated into any existing TwinCAT3 project.

Want to get started? Start by reading the unit testing concepts and then the introduction user guide.

Easy to use

The framework is easy to use. All that is needed is to download & install the library, and provide a reference to the TcUnit-library in your project, and you can start to write your test code. For a complete set of instructions, start with the concepts, continue with the user guide and finish with the programming example.


One library

All functionality is provided by one single library. Add the library to your project and you are ready to go! You can either download a precompiled (ready to install) version of the library or download the source code.



The library and all the source code is licensed according to the MIT-license, which is one of the most relaxed software license terms. The software is completely free and you can use the software in any way you want, be it private or for commercial use as long as you include the MIT license terms with your software.



This is a list of some of the users of the TcUnit framework. Are you using TcUnit and want to be included here? Drop a message by using this contact form.

ESO extremely large telescope

The European Extremely Large Telescope (ELT) is a revolutionary scientific project for a 40m-class telescope that will allow us to address many of the most pressing unsolved questions about our Universe.

The ELT will be the largest optical/near-infrared telescope in the world and will gather 13 times more light than the largest optical telescopes existing today. The ELT will be able to correct for the atmospheric distortions (i.e., fully adaptive and diffraction-limited) from the start, providing images 16 times sharper than those from the Hubble Space Telescope. The ELT will vastly advance astrophysical knowledge by enabling detailed studies of planets around other stars, the first galaxies in the Universe, super-massive black holes, and the nature of the Universe’s dark sector.

Text credit: ESO Image credit: ESO/L. Calçada

CorPower wave energy converter

CorPower Ocean brings a new class of high efficiency Wave Energy Converters, enabling robust and cost- effective harvesting of electricity from ocean waves. The design principle is inspired by the pumping principles of the human heart and offers five times more energy per ton of device compared to previously known technology. This allows a large amount of energy to be harvested using a small low-cost device. A unique transparency to incoming wave energy provides storm survivability. The step-change increase in structural efficiency is enabled by a novel system design and an advanced control technology.

Text & image credit: CorPower Ocean