thanks to your work, we have now implemented all of the release-critical
features listed in the issue tracker. Issue 14 is still open, but it
seems this is fixed (it works on my machine). It would be great if Jean
could test and close this issue. All developer and user tools work fine
on my machine and match the README/developer-notes descriptions.
So my question: Is there still something that you want to have
checked/implemented/worked at for the first release? Otherwise, I'd like
to branch and tag the svn trunk (as described in wiki/ReleaseTesting) so
we can start testing.
If there is something left to do, please open an issue in the Google
Code tracker with Milestone "Release0.1".
Ludwig
This is related to the docstrings of each test. We have to think
about what we want these messages to provide to us. A description of
what a test should do can also be provided in a usual code comment.
Another purpose might be to find failed tests quickly (which is by
the method name). I would favor the second one. My proposal is thus
to not provide doctests for test methods. This would result in all
messages start with "test_" (the method name).
> And then, we (I?) may want to undo the changes for sphinx-build as
> mentioned in a previous email today.
Sry, but which one do you mean?
cheers,
robert
So you want to remove all of the doc-string for test methods, right? I'm
not in favor of that, actually. If a test fails, the filename,
method-name and line number are provided (just tried, see below).
The other purpose of the docstrings are to describe what functionality
is being tested. If a test fails, that might make it more clear which
functionality was broken/does not work (compared to a method name at least).
Ludwig
FAIL: Test object registration.
----------------------------------------------------------------------
Traceback (most recent call last):
File ".../test_heapmonitor.py", line 63, in test_track_object
assert 1 == 0
AssertionError
This is true. Nevertheless I am faster seeing the name of the failed
method than the line number.
> The other purpose of the docstrings are to describe what functionality
> is being tested. If a test fails, that might make it more clear which
> functionality was broken/does not work (compared to a method name at least).
I do not propose to remove the docstrings, only change it to code
comments. When testing some functionality, it is often functionality
encapsulated in a function/method. Such a functionality includes
several tests, e.g. boundary tests which are encapsulated in a
single test method. Thus, a single docstring often doesn't hold all
information.
For me it is just a matter of taste, maybe even a bike-shed
discussion. I propose to led Jean decide. .. Okay, he just did in
favor of your proposal, Ludwig :)
So shall it rather be "check" or "test" these messages start with? I
don't mind either way.
Also we should try to make sure that test docstrings all have a
one-line summary at the beginning.
Ludwig