Ticket #28 (new task)
Add (highlevel) dbus unit tests
| Reported by: | mickey | Owned by: | mickey |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | framework/general | Version: | |
| Keywords: | Cc: |
Description
We need to add dbus unit tests for all dbus objects. These should conform to the Python Unit Testing Framework.
Change History
comment:2 Changed 3 years ago by charlie
I started to work on that.
If we add a python module containing unittest classes in the 'tests' directory, we can invoke all the tests from within the 'tests.py' script.
I also created a special taskletTest decorator that is useful for writing unit test that need to start gobject mainloop, and may block for DBus calls or signals.
One thing I have to think about is how to separate tests that need user interaction from those that don't.
comment:3 Changed 3 years ago by daniel
I'm currently working on an approach using gabiel/remote DBus calls. With this we can also control two devices so things like call handling can be tested.
comment:4 Changed 2 years ago by sim
decoration Changed 1 year ago by admin
bathtub Changed 1 year ago by admin
solar system Changed 1 year ago by admin
stair parts Changed 1 year ago by admin
solar supply Changed 1 year ago by admin
