Skip to content

Make it easier to run mock services in place of real ones #81

@hadess

Description

@hadess

A lot of the code in python-dbusmock assumes that the developer will want to create a fake bus, along with fake services to specifically run a test case.

This makes it difficult to reuse the templates to create replacement for real service, which one would run in place of the real service, for the purpose of testing an interactive UI.

For example, having a run-mock-upower.py with a menu of different scenarios would make it a good replacement for the hard-coded tests rigged into GNOME's Power panel which don't really test the upower communication.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions