← Back to team overview

subunit-dev team mailing list archive

[Fwd: Extensions to the subunit protocol]

 


-- 
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Rob,

(should we have a subunit mailing list for this sort of thing?)

Samba is getting pretty close to using "standard" subunit internally
and I've separated the actual test runner from the displayer. I think
I've got a pretty good idea now of what sort of extensions we'll need
in Subunit.

* optionally supporting the message on the same line as the
error/failure/skip
* a "testsuite" command that can be used to set a mandatory prefix for
the test names

These two things should allow Samba's subunit streams to work with the
standard subunit tools. I'll prepare patches for these.

Samba will keep a few of its existing extensions around as well, but
we can live with having them as separate extensions rather than
upstream. They are:

 * "skip-testsuite" command: Used to indicate that a particular
testsuite (and all its tests) was skipped
 * "testsuite-count" command: Used to indicate the number of
testsuites that's going to be run
 * "testsuite-result" command: Used to report the overall result of a
testsuite (we have this to ensure that test commands use the right
exit code depending on whether they reported failures).

Do you think it makes sense to have any of the last three in the
upstream subunit?

Cheers,

Jelmer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iJwEAQECAAYFAkon8C0ACgkQDLQl4QYPZuX0EAQAnGNJZUL6VtK2nmZkAbCFoBr5
s1a1L7xowJTfWXPwu1aTx/LCP0Vjn+QQ7Tg7x0FIPkI3abZKzsOcyGWM54kPC4iv
jc6GR2SW+gYJYky12GpB6voRdcU+jzkSOu8pm1o84LOqJYvkIjZOo86GR+pmrG3x
IeIsmnlba53swPNgDs8=
=zy3v
-----END PGP SIGNATURE-----



--- End Message ---

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups