Automated and Distributed Testing Using TTCN 3 by Hiroki Sato @BsdcanOrg
Automated and Distributed Testing Using TTCN 3 by Hiroki Sato  @BsdcanOrg
Uploaded August 2025 | Updated September 2026, 2 hours ago
Testing an operating system is not easy. FreeBSD project uses Kyua testing framework and has continuously made efforts to add more test cases. They are mostly written in shell scripts or some lightweight programming languages. Writing and maintaining complex test cases is still challenging.

This talk introduces TTCN-3, Testing and Test Control Notation version 3. This is a domain-specific language designed for automated testing and is widely used in telecommunicating systems as an ETSI industry standard. While the primary target is conformance testing of communication protocols, it is also helpful to write complex test cases for operating system testing that cannot be covered by shell scripting.

Eclipse Titan is a TTCN-3 toolchain that Ericsson internally developed and Eclipse Foundation now maintains under Eclipse Public License 2.0. It translates test cases in TTCN-3 to a C++ program, and it generates a single binary without annoying library dependency to perform testing. The toolchain runs on *BSD or other Unix-like systems with GCC, and includes powerful orchestrating controller and logging capability. This project also maintains production-quality test case implementations for various protocols we can reuse.

The talk will cover how to get started with Eclipse Titan on FreeBSD, and how to write test cases of networking and multiple nodes. It includes examples such as a simple string matching of messages over STDIN/STDOUT, a simple request/response packet exchange over IP, and more complex scenarios that show both the upside and downside of using TTCN-3.

Speaker Biography: Hiroki Sato is an assistant professor at Institute of Science Tokyo. He is one of the FreeBSD core team members and has been a FreeBSD committer since 2001.

For more information, please visit:
bsdcan.org/2025
- and -
bsdcan.org/2025/timetable/timetable-Automated-and-Distributed.html
Automated and Distributed Testing Using TTCN 3 by Hiroki SatoSleep on FreeBSD: A bedtime story about S0ix By Aymeric WiboNetBSD on RISC-V - It Finally Runs NetBSD By:  Dylan Eskew & Dr Phil NelsonKurt Mosiejczuk: Making your own console server using OpenBSD   BSDCan 2018Lightning Talk: Increasing Consistency in man4 Alex Ziaee ziaee@A History of the BSD Daemon by Marshall Kirk McKusickDan Langille: BSDCan 2018 Opening   BSDCan 2018Oblivious Sandboxing with Capsicum and EBPF: Ryan StoneTowards a Robust FreeBSD-Based Cloud: Porting OpenStack Components By: Mr Chih-Hsin ChangMetaslab Allocation Performance in ZFS: Paul DagnelieELF Nightmares GOTs, PLTs, and Relocations Oh My by John BaldwinSupporting a development lab with FreeBSD By: Chuck Tuffli
BSDCan |

Automated and Distributed Testing Using TTCN 3 by Hiroki Sato

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER