nixos/test-driver: allow easier sharing between expression and driver script #156563
Labels
2.status: stale
https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
6.topic: testing
Tooling for automated testing of packages and modules
Projects
Currently, we use a lot of string interpolation to get information from the nix expression defining the test to the script running the driver. It would be nice to have a more principled way of doing this. My thought is to have a field in the driver that is written by Nix, converted to JSON, and then read by the driver script.
A minimal example of how this would work:
The text was updated successfully, but these errors were encountered: