Commit graph

8 commits

Author SHA1 Message Date
David I. Lehn b16d43aa74 Disable normalization tests. 2015-10-13 14:32:40 -04:00
David I. Lehn e98b8f61ba Group tests by test suite.
- Grouping the tests by test suite to avoid warning failures when there
  are no test in a suite. Requires the use of the phpunit `--group`
  flag.
2015-10-13 14:08:27 -04:00
David I. Lehn c63a5961fb Add support for normalization test suite.
- Handle rdfn:Urgna2012EvalTest and rdfn:Urdna2015EvalTest.
- Use nquads input format for normalization tests.
- Support normalization test suite format with various tweaks.
  Compacting the data would eliminate most of these changes but can't
  rely on compact to work in the code that tests compact! So hard coded
  fixes are used.
  - Support 'entries' and 'sequence' for tests.
  - Support 'include' as filename without a .jsonld extension.
  - Support 'type' and '@type' as aliases.
  - Support 'id' and '@id' as aliases.
  - Support 'action' and 'input' as aliases.
  - Support 'result' and 'expect' as aliases.
  - No longer strip '#t' prefix from '#tNNN' ids.
  - Default to positive test if nothing specified.
- Add normalization test to travis-ci config.
- Fix container infrastructure flag from 'root' to 'sudo'.
- Update README with new testing info.
2015-10-13 13:38:56 -04:00
David I. Lehn e08fe87860 Test on PHP 5.6. 2015-10-08 19:41:25 -04:00
David I. Lehn 51a0635c61 Use container testing infrastructure. 2015-10-08 19:41:25 -04:00
Dave Longley cf687f9c70 Use phpunit to run tests. 2013-09-15 00:24:40 -04:00
Dave Longley 7a89570bd5 Fix language. 2013-08-09 14:10:32 -04:00
Dave Longley ac71cc01b8 Add travis-ci support. 2013-08-09 13:46:51 -04:00