Testing complex software in CI
Stories from SSSD and Samba world
Andreas Schneider is a Free and Open Source Software developer working as a Principal Software Engieer at Red Hat.
Andreas is a member of the Samba Team and one of the most active contributors to the Samba project. Andreas also works on other FOSS projects like libssh (a library implementing the SSH protocol), cmocka (a unit testing framework for C with support for mock objets), cwrap (a set of tools to test your full software stack on a single machine and csync (a bidirectional client-only file synchronizer).
Andreas gives regularly talks about his work at different conferences including SambaXP and FOSDEM.
This talk will show stories from the trenches of developing tests for SSSD and
Samba. How we developed complete integration tests that exercise all the
capabilities of our software and run in environments without a real network
access, without requiring root or sudo or touching the important OS
The authors of this talk work on SSSD, Samba and libssh - software that
communicates over the network, often requires root access and communicates
through OS interfaces. In this talk, we will show how we developed complete
integration tests that exercise all the capabilities of our software and run
in environments without a real network access, without requiring root or sudo
or touching the important OS interfaces.
In addition, our goal was that the tests must be easy to develop and must run
both locally on developer's machine as well as inside popular CI engines of
today, like Travis or Semaphore. To meet these goals, we had to leverage
existing testing tools, but also build new ones such as pam_wrapper or
libpamtest to be able to test OS-level PAM authentication and authorization.
This talk will be useful for developers who write tests for software that is
normally not easy to test -- attending the talk will show you how to test
complex software systems in isolation.
- 2016 June 24 17:00
- 1 h
- openSUSE Conference 2016
- Technology & Development