Open-source graph database, built for real-time streaming data, compatible with Neo4j.
Go to file
Matej Gradiček 54f14ef788 First memgraph tests
Summary: First memgraph tests

Reviewers: buda

Reviewed By: buda

Subscribers: matej.gradicek

Differential Revision: https://phabricator.memgraph.io/D123
2017-03-14 14:40:43 +00:00
dbms First version of external integration test. 2017-03-07 12:44:58 +01:00
kpi_service tck engine first implementation 2017-03-14 09:20:08 +00:00
tck_engine First memgraph tests 2017-03-14 14:40:43 +00:00
.arcconfig First version of external integration test. 2017-03-07 12:44:58 +01:00
.gitignore Add python requirements 2017-03-14 13:57:20 +01:00
init First version of external integration test. 2017-03-07 12:44:58 +01:00
README.md Refactoring qa repo, moved tests from tck_engine/openCypher to tck_engine/tests/openCypher, created some test folders, added KPI Service documentation. 2017-03-14 12:52:32 +00:00
requirements.txt First memgraph tests 2017-03-14 14:40:43 +00:00
run First version of external integration test. 2017-03-07 12:44:58 +01:00

Memgraph quality assurance

In order to test dressipi's queries agains memgraph the following commands have to be executed: 1. ./init [Dxyz] # downloads query implementations + memgraph # (the auth is manually for now) + optionally user can # define arcanist diff which will be applied on the # memgraph source code 2. ./run # compiles and runs database instance, also runs the # test queries

TODO: automate further

TCK Engine

Python script used to run tck tests against memgraph. To run script execute:

1. python3 tck_engine/test_executor.py

Script uses Behave to run Cucumber tests.

The following tck tests have been changed:

1. Tests where example injection did not work. Behave stores the first row 
   in Cucumber tables as headings and the example injection is not working in
   headings. To correct this behavior, one row was added to tables where
   injection was used.

2. Tests where the results were not always in the same order. Query does not
   specify the result order, but tests specified it. It led to the test failure. 
   To correct tests, tag "the result should be" was changed with a 
   tag "the result should be (ignoring element order for lists)".

Comparability.feature tests are failing because integers are compared to strings what is not allowed in openCypher.

KPI Service

Flask application used to get results from executing tests with TCK Engine. Application can be ran executing:

1. python3 kpi_service/kpi_service.py