You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing with neo4j as we all know leaves much to be desired but it would be nice if we could spawn test dbs so that integration tests that include the database would be possible. For reference, this lib makes it possible already but the design choices made by the devs of the lib make it hard to integrate the lib with neogma without reaching into neogma source and tweaking some things.
The text was updated successfully, but these errors were encountered:
AndySakov
added a commit
to AndySakov/neogma
that referenced
this issue
Jan 12, 2024
Added util functions to manage temp databases (create and delete) and
integrated them as methods on the `Neogma` class.
- Copied over the functions from the
[@neo4j-labs/temp-dbs](https://github.com/neo4j-contrib/neo4j-temp-db)
repo and ported them to typescript.
- Integrated the functions into the `Neogma` class and removed the
`driver.close()` calls in the functions in favor of the global driver
manager.
- Added tests to make sure the intended behaviour was successfully
implemented.
---------
Co-authored-by: Jason Athanasoglou <[email protected]>
Testing with neo4j as we all know leaves much to be desired but it would be nice if we could spawn test dbs so that integration tests that include the database would be possible. For reference, this lib makes it possible already but the design choices made by the devs of the lib make it hard to integrate the lib with neogma without reaching into neogma source and tweaking some things.
The text was updated successfully, but these errors were encountered: