nix-bitcoin/test/lib
Erik Arvstedt edbaeb9813
tests: define tests via flake
Advantages:
- Pure test evaluations
- The test framework can now be used by flakes that extend nix-bitcoin
- Most features of `run-tests.sh` are now accessible via `nix build`/`nix run`.
  We keep `run-tests.sh` for advanced features like `scenarioOverridesFile` and adhoc scenarios.

Other changes:
- `run-tests.sh` now builds aggregate VM tests like `basic` or
  `buildable` by creating all VMs in a single evaluation.
  This speeds up the tests and eases debugging by separating the eval and build steps.
- Use the new `nix` CLI which has improved build output logging
  by prefixing output lines with the origin drv name.
2022-11-03 23:08:06 +01:00
..
copy-src.sh tests/copy-src: always copy .git dir 2022-11-03 23:08:05 +01:00
make-container.sh tests: define tests via flake 2022-11-03 23:08:06 +01:00
make-test-vm.nix add compatibility with Nix PR #6530 (Source tree abstraction) 2022-11-03 23:08:05 +01:00
make-test.nix tests: define tests via flake 2022-11-03 23:08:06 +01:00
run-vm-without-tests.sh tests: define tests via flake 2022-11-03 23:08:06 +01:00
run-vm.sh tests: define tests via flake 2022-11-03 23:08:06 +01:00
shellcheck-services.nix test/shellcheck-services: add configurable source prefix 2022-11-03 23:08:04 +01:00
test-lib.nix tests: add shellcheckServices 2022-09-12 21:00:00 +02:00