DBus testsuite

Jean Parpaillon jean.parpaillon at free.fr
Thu Feb 5 01:20:56 PST 2015


Le mercredi 04 février 2015 à 16:21 +0000, Simon McVittie a écrit :
> On 04/02/15 15:25, Jean Parpaillon wrote:
> > I am currently working on a pure erlang implementation of DBus.
> ...
> > Is there any DBus testsuite for that purpose ?
> Matthew Johnson's "cross test" 
> <http://cgit.freedesktop.org/dbus/dbus-test/> is an interop test 
> framework. It's designed to pair up client and server implementations. 
> It hasn't been touched for 7 years, so it's anyone's guess whether it 
> works, is complete, or reflects current best-practices... but it might 
> be a good starting point.
> dbus-python has implementations of both the client and server ends of 
> the cross-test. I think dbus-java probably does too (it's by the same 
> author as the cross-test).

Ok, thank you for the links. I will have a look at it.

>  > I've seen a test
> > directory in dbus repository, but it is difficult to sort out tests...
> Those are more like regression and integration tests for the other 
> software in dbus.git: libdbus, the reference C library, and dbus-daemon, 
> the reference message bus daemon. You could pick up inspiration from the 
> sorts of things they test, but they would not be directly useful for 
> testing interop with a third-party implementation.
> The tests for GDBus and the deprecated dbus-glib, and most of the tests 
> for dbus-python, are similarly more focused on being regression tests 
> than being interop tests.


Jean Parpaillon
Open Source Consultant
Phone: +33 6 30 10 92 86
im: jean.parpaillon at gmail.com
skype: jean.parpaillon
linkedin: http://www.linkedin.com/in/jeanparpaillon/en

More information about the dbus mailing list