Closed GoogleCodeExporter closed 8 years ago
Also change the bottom to exit with a failure code when test suite fails:
if not TestFrameWork().go():
sys.exit(-1)
Original comment by the.good...@gmail.com
on 11 May 2008 at 6:58
I made the suggested changes. I have second thoughts about doing an absolute
import
from pygr. Maybe it would be better to use a .pth file to allow redirection of
import?
Original comment by ramccre...@gmail.com
on 12 May 2008 at 4:14
Attachments:
Hi Rachel,
actually test_loader.py is one of the obsolete test suites left over from
before we
migrated to nose-style tests. The nose-style tests contain all the
functionality
from the old tests (plus new tests), but follow the nose convention that all
test
files are named in the form *_test.py. The current, equivalent test is
graph_test.py:Mapping_Test.graphedges_test, which is part of the nightly test
suite.
To run the standard test suite (this is documented in detail in the Pygr Docs):
python protest.py
I apologize for the confusion -- actually we can blame it all on Titus! He's
the one
who told me to switch our tests to nose... The old (deprecated) test files are
still
in the package simply because under CVS it was a real pain in the @#$%@ to
delete
files from the source code repository. I suppose now that we're using git we
should
just remove those old test files, or move them to a deprecated directory.
Titus, what do you think?
Original comment by cjlee...@gmail.com
on 13 May 2008 at 9:22
All the old (pre-nose) test scripts have been removed from the tests/
directory, so
this issue is resolved.
Original comment by cjlee...@gmail.com
on 22 Aug 2008 at 8:23
Original comment by mare...@gmail.com
on 21 Feb 2009 at 1:27
Original issue reported on code.google.com by
ramccre...@gmail.com
on 11 May 2008 at 3:44Attachments: