Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration Tests #6

Open
vladbatushkov opened this issue Jun 9, 2021 · 0 comments
Open

Integration Tests #6

vladbatushkov opened this issue Jun 9, 2021 · 0 comments

Comments

@vladbatushkov
Copy link
Owner

vladbatushkov commented Jun 9, 2021

The approach to test Strazh as Integration Test is next:

  • We need to run Neo4j container
  • We need to build a new Strazh image and run a container
  • Strazh should analyze a SystemUnderTest project and inject a graph into Neo4j container
  • We need to have some another project, that will connect to Neo4j database and run some queries
  • Each query is a test-case with expectations based on known SystemUnderTests project structure

For example:

  • We can verify that ProjectA depends on ProjectB, by run a query on the graph data.

Query to use for test I can provide.
We need to build a GitHub actions to do that.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant