Testsuite documentation — pyudev 0.24.4 documentation

# Testsuite documentation

This document explains the pyudev test suite and how to add new tests to this suite.

The pyudev testsuite uses the powerful pytest unittest framework, accompied by the nice mock library for mocking native functions and heavily extended with plugins to support the tests.

- Test running
  - Device samples
- `plugins` – Testsuite plugins
  - `pytest` namespace
    - `fake_monitor` – A fake `Monitor`
  - Funcargs
    - `mock_libudev` – Mock calls to libudev
    - `travis` – Support for Travis CI
  - Test markers
    - `pytest.mark.not_on_travis`
  - `pytest` namespace