Skip to content

Testing with EUnit

walter-weinmann edited this page Jul 9, 2016 · 11 revisions

1. Test Cases of the openCypher language version

These test cases are also documentation of the current support.

2. Test Cases of the legacy language version

These test cases are also documentation of the current support.

3. Running Test Cases

  • SET CYPHER=<test>, SET CYPHER_LEGACY=<test> and run with rebar eunit skip_deps=true one specific test.tst or test.legacy file from the test/ folder.
  • SET LOG=0,1,2,3,4,5 and enable with rebar eunit skip_deps=true different types of logging, one or more of the following logging levels can be enabled (default is 0):
level type
0 only errors
1 test cypher
2 parse tree of test cypher
3 fold cypher
4 parse tree of fold cypher
5 unused
Clone this wiki locally