nxc driver
Run the driver to execute the given script to interact with the deployed environment. The script is a python script similar to nixos-test script. See the NixOS manual on nixos-tests for more details.
Be aware that unlike Nixos-test that only support virtual machines, nxc supports many flavours and VM specific features are not supported.
Examples
-
nxc driver -tRun the script defined in the composition
Usage
nxc driver [OPTIONS] [TEST_SCRIPT_FILE]
Options
-
-l, --userDefault:
root -
-d, --deployment-fileDeployment file, take the latest created in deploy directory by default -
-f, --flavourflavour, by default it's extracted from deployment file name -
-t, --test-scriptexecute the 'embedded' testScript Default:False -
test-script-file -
--helpShow this message and exit. Default:False