summaryrefslogtreecommitdiff
path: root/run_tests.py
Commit message (Collapse)AuthorAgeFilesLines
* Migrate from nosetest to pytestIwan Aucamp2021-10-241-61/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch replace all uses of nose with pytest. It also includes a pytest plugin for creating EARL reports for tests with a `rdf_test_uri` parameter. Some caveats: - HTML report directory is now htmlcov instead of coverage - There is some warning related to the EARL reporting plugin which I can't quite figure out: ``` .venv/lib64/python3.7/site-packages/_pytest/config/__init__.py:676 /home/iwana/sw/d/github.com/iafork/rdflib/.venv/lib64/python3.7/site-packages/_pytest/config/__init__.py:676: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: test.earl self.import_plugin(import_spec) ``` This is not causing any problems as far as I can tell, but still annoying. - python setup.py test won't work anymore, I can make it work but this is not advised by pytest: https://github.com/pytest-dev/pytest-runner/#deprecation-notice - run_test.py is still there but it's not really referenced anymore from anywhere and the options it accepts are completely different as it's options were based on nose. I would say it should be removed entirely but for now it is basically just a wrapper around pytest that basically does nothing. - Removed references to test attributes as currently they are not being used anywhere anyway, I guess we can add them back if there is some use for them later. - A lot of tests are still marked to skip when really they should be marked with xfail. This is also affecting the RDFT test manifests and result in reports saying tests are skipped when really we know they will fail and they are only skipped for this reason. But there is no change here from before, and pytest makes it easier to dynamically do expected failures. Special thanks to Wes Turner for his advice and inputs on this process.
* Fix minor typosNatanael Arndt2020-09-091-1/+1
|
* cleanup run_tests.pyFlorian Ludwig2020-09-081-11/+4
|
* 2to3 whole sourcebaset0b32020-06-221-2/+0
| | | | Signed-off-by: t0b3 <thomas.bettler@gmail.com>
* blacked all python filesNicholas Car2020-05-161-18/+20
|
* make namespace module flake8-compliant, change exceptions in that module to ↵Adam Ever Hadani2017-02-061-1/+1
| | | | specific ones
* six: run_tests.py: cleanup, py3 compatibleJoern Hees2017-01-301-17/+24
|
* Update issue 123eikeon2010-03-121-1/+1
| | | | Fixed a few small pylint issues; more to come.
* removed more non core bits; run_tests now runs all tests but those marked ↵eikeon2010-02-051-1/+1
| | | | with known_issue and sparql
* added bit to run_tests to skip over known_issue; added __test__ = False to ↵eikeon2010-02-041-1/+1
| | | | rdfa tests while we fix the 9 that are failing; updated hash function in graphutils so that it doesn't vary between environments and cause the doc tests to fail
* removed --with-xunit from run_tests.py so as not to confuse people, and put ↵ed.summers2010-02-031-1/+0
| | | | it in the hudson invocation of run_tests.py
* trying out xunit output w/ hudsoned.summers2010-02-031-0/+1
|
* removed old commented out codeeikeon2010-02-031-83/+0
|
* switch to nose.run_exit to see if it will propagate exit code to hudsoned.summers2010-02-031-1/+1
|
* removing sparql bits since we've pushed them out of 2.5 for noweikeon2010-02-021-1/+1
|
* Add "!manual" and "!non_core" to DEFAULT_ATTRS to avoid running manual and ↵gjhiggins2009-05-171-1/+1
| | | | non_core tests.
* fixed Trix parser and added as plugin again, also fixed trix testsgromgull2009-03-031-0/+2
|
* removed --with-EARL for noweikeon2007-03-301-1/+1
|
* added --with-EARL to run_tests; added date-time stamp to results output filenameeikeon2007-03-291-0/+1
|
* slight improvement of docstringlindstream2007-03-241-5/+26
|
* changed UTF-8 -> utf-8eikeon2007-03-241-0/+151
|
* go awayeikeon2007-03-241-0/+0
|
* moved content to run_nose_testseikeon2007-03-241-82/+0
|
* change run_tests to print message indicating to use: python setup.py testeikeon2007-03-111-2/+7
|
* Added test case for unicode string query issue; fixed issueeikeon2006-11-151-0/+1
|
* added JSON testeikeon2006-11-081-0/+2
|
* Split out Sleepycat tests; made them part of 'not quick'eikeon2006-11-071-0/+2
|
* cleaned up tests; changed URIRef("foo")!=u"foo"; added/fixed the identifier ↵eikeon2006-11-071-4/+13
| | | | __repr__s
* Added new N3Serializer, TurtleSerializer, and Abstract super classes. Made ↵gromgull2006-08-081-0/+2
| | | | N3Writer tests run as part of run_tests.py. Literal.py changed to support triple quoted long literals.
* commenting out rdfa tests as some of them are failingeikeon2006-08-021-1/+2
|
* merged events code into trunkmichel2006-07-101-0/+2
|
* removed trailing spacesogrisel2006-06-251-1/+1
|
* fixing EOL problems by setting the svn:eol-style property to native and ↵ogrisel2006-06-251-58/+58
| | | | replacing \r\n by a single \n
* - I've made fixes/added feature to RDFa parsereliast2006-06-081-0/+5
| | | | - Added RDFa parser test suite
* added n3 quoting testeikeon2006-05-211-0/+1
|
* assorted patches for tests (see http://tracker.asemantics.com/rdflib/ticket/8 )eikeon2006-01-231-5/+20
|
* removed no longer existing test caseeikeon2005-12-181-2/+0
|
* added graph2_2eikeon2005-12-161-0/+2
|
* graph references are now store directly in graphs and not indirectly via ↵eikeon2005-12-151-2/+1
| | | | their identifier; and too many other little changes along for the ride
* fixed to_bits; added Statement nodeeikeon2005-12-131-1/+2
|
* detabifiedeikeon2005-12-131-1/+1
|
* (no commit message)eikeon2005-12-121-1/+1
|
* test/contexts now runs with Sleepycat store too; fixed a few remove_context ↵eikeon2005-12-121-1/+1
| | | | bugs found
* fixed non quick testseikeon2005-12-091-1/+1
|
* finished backend -> store bit including some backward compat. bitseikeon2005-12-091-2/+8
|
* more triples interface alignmenteikeon2005-12-091-5/+6
|
* updated to include all but test.type_checkeikeon2005-12-071-12/+15
|
* added back optional context arguments to maintain 2.x interface re: ↵eikeon2005-12-071-6/+13
| | | | ConjunctiveGraph
* commented back in a few testseikeon2005-12-071-3/+3
|
* checking in with tests commented out to test new release scripteikeon2005-12-071-16/+13
|