Merge lp:~lifeless/zope.testing/subunit into lp:zope.testing
| Status: | Merged |
|---|---|
| Merge reported by: | Benji York |
| Merged at revision: | not available |
| Proposed branch: | lp:~lifeless/zope.testing/subunit |
| Merge into: | lp:zope.testing |
| Diff against target: |
30 lines (+3/-3) 1 file modified
src/zope/testing/testrunner/formatter.py (+3/-3) |
| To merge this branch: | bzr merge lp:~lifeless/zope.testing/subunit |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Benji York (community) | Approve on 2010-10-15 | ||
| ZTK steering group | 2010-06-02 | Pending | |
|
Review via email:
|
|||
Description of the Change
Use subunit's extended API more carefully, avoiding passing details
objects into parameters expecting error tuples.
I don't know if tests pass - the getting started instructions just blowup for me, and it didn't look possible to do 'python -m unittest.run zope.testing'.
-Rob
| Tres Seaver (tseaver) wrote : | # |
| Robert Collins (lifeless) wrote : | # |
Well, I ran python bootstrap.py and it went boom; at that point I
committed and submitted this proposal ;)
The boom was about accessing some setuptools egg, I think.
| Benji York (benji) wrote : | # |
I fixed the "python bootstrap.py and it went boom" problem by updating the bootstrap.py.
/me adds a line to the why-I-don'
| Benji York (benji) wrote : | # |
The fact that this patch doesn't touch any tests suggests that the subunit output is missing some test cases. I'd like to see some tests that fail without the code changes and pass afterward.
| Robert Collins (lifeless) wrote : | # |
I agree there are tests missing; I don't see that holding improvements
of untested code hostage to tests is a good balance.
| Benji York (benji) wrote : | # |
On Tue, Jul 20, 2010 at 11:15 AM, Robert Collins
<email address hidden> wrote:
> I agree there are tests missing; I don't see that holding improvements
> of untested code hostage to tests is a good balance.
I don't expect the patch to include all the missing tests, but a
regression test would be appropriate. Since you produced the patch, I
assume you can reproduce the behavior that the patch corrects.
--
Benji York
| Robert Collins (lifeless) wrote : | # |
On Tue, Jul 20, 2010 at 5:31 PM, Benji York <email address hidden> wrote:
> On Tue, Jul 20, 2010 at 11:15 AM, Robert Collins
> <email address hidden> wrote:
>> I agree there are tests missing; I don't see that holding improvements
>> of untested code hostage to tests is a good balance.
>
> I don't expect the patch to include all the missing tests, but a
> regression test would be appropriate. Since you produced the patch, I
> assume you can reproduce the behavior that the patch corrects.
No, I can't- I just know the API in question.
| Benji York (benji) wrote : | # |
Well, I'm not happy with the lack of tests, but I suppose that the best thing I can do is merge this as is -- which I did in revision 117583.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Robert Collins wrote: group)
> Robert Collins has proposed merging lp:~lifeless/zope.testing/subunit into lp:zope.testing.
>
> Requested reviews:
> ZTK steering group (ztk-steering-
>
>
> Use subunit's extended API more carefully, avoiding passing details
> objects into parameters expecting error tuples.
>
> I don't know if tests pass - the getting started instructions just
> blowup for me, and it didn't look possible to do 'python -m
> unittest.run zope.testing'.
The "standard" way to run the tests would be via buildout:
$ /opt/Python- 2.6.5/bin/ python bootstrap.py
$ /bin/buildout
$ bin/test --all
I would actually prefer if the tests became / stayed runnable via the
setuptools 'test' command:
$ /opt/Python- 2.6.5/bin/ python setup.py test
Tres. ======= ======= ======= ======= ======= ======= ======= ======= ==== palladion. com enigmail. mozdev. org
- --
=======
Tres Seaver +1 540-429-0999 <email address hidden>
Palladion Software "Excellence by Design" http://
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkw Gx24ACgkQ+ gerLs4ltQ4NfgCg vKaifq96pgLATTr X7OD9Admo 5k/UK5pKbTMN7ff tKQR
FsUAn0P1sNNl/
=PkJm
-----END PGP SIGNATURE-----