Skip to content

ingitdb/e2e-test-ingitdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

e2e-test-ingitdb

End-to-end test fixtures for ingitdb-cli.

This repository is a real inGitDB database used as a fixed-input fixture by end-to-end tests that exercise the CLI and dalgo adapters against an actual Git remote. Consumers pin to a specific commit so test inputs don't drift.

Layout

.ingitdb/
  root-collections.yaml   # maps collection IDs → directory paths
  settings.yaml           # default_namespace: test
countries/
  .collection/
    definition.yaml       # schema for the countries collection
  $records/<key>/<key>.yaml  # one record per country

The countries collection is namespaced as test.countries when the database is opened directly (see default_namespace: test in .ingitdb/settings.yaml).

Adding fixtures

Add new collections under their own top-level directory and register them in .ingitdb/root-collections.yaml. Keep records deterministic — these files are read verbatim by tests.

Demo data vs. e2e fixtures

For curated demo databases meant for documentation and exploration, see ingitdb/demo-ingitdb. This repo exists specifically to back automated end-to-end testing.

About

End-to-end test fixtures (real inGitDB databases) for ingitdb-cli

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors