Skip to content

Splitting tests into unit and integration tests and general clean-up of the test code

Afonso Mukai requested to merge issue_49 into master

Created by: SkyToGround

Fixes #49 (closed) Fixes #162 (closed)

This is what I have done:

  1. Split the tests into unit tests and integration tests.
  2. Fixed failing test.
  3. LLVM:ified the file names and test names (changed suffixes to .cpp and made names camel case).
  4. Removed some dead code.
  5. Moved test (json) data into separate directory and made the tests find that data using absolute paths.
  6. Fixed null pointer access bug in the integration test code.
  7. Other minor fixes and improvements to the code.

The new IntegrationTests target builds and runs though it crashes. Someone with more knowledge about the integration test should take a look at it. I do not believe I have broken anything in it.

Merge request reports