Navigation

  • index
  • modules |
  • next |
  • previous |
  • pyudev 0.17 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
    • Virtual testing
    • Direct testing using tox
    • Notes
      • Device samples
      • Privileged tests
  • plugins – Testsuite plugins
    • udev_database – pytest plugin to access the udev device database
      • Test markers
      • Configuration values
      • Funcargs
      • Command line options
    • privileged – Privileged operations
      • Command line options
      • Configuration
      • pytest namespace
    • fake_monitor – A fake Monitor
      • Funcargs
    • mock_libudev – Mock calls to libudev
    • libudev – Parse libudev.h
      • Configuration values
      • Funcargs
      • Types
    • travis – Support for Travis CI
      • Test markers
      • pytest namespace

pyudev 0.17

Install

  • pip install pyudev

Links

  • pyudev on PyPI or Crate.io
  • pyudev on Read the Docs
  • pyudev on GitHub
  • pyudev on Travis CI

Support

  • issue tracker

Previous topic

Contribute

Next topic

Test running

This Page

  • Show Source

Navigation

  • index
  • modules |
  • next |
  • previous |
  • pyudev 0.17 documentation »
© Copyright 2010, 2011 Sebastian Wiesner. Created using Sphinx 1.3.1.