mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-13 00:20:07 +01:00
feat: initial support for e2e tests
This commit is contained in:
parent
b1319684c7
commit
3549610e0e
5 changed files with 147 additions and 11 deletions
|
|
@ -1,8 +1,10 @@
|
|||
{ lib, ... }:
|
||||
{ lib, config, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
let
|
||||
cfg = config.test;
|
||||
in {
|
||||
options.test = {
|
||||
name = mkOption {
|
||||
description = "Test name";
|
||||
|
|
@ -43,5 +45,16 @@ with lib;
|
|||
succeed, along with associated error messages for the user.
|
||||
'';
|
||||
};
|
||||
|
||||
extraCheckInputs = mkOption {
|
||||
description = "Extra check inputs";
|
||||
type = types.listOf types.package;
|
||||
};
|
||||
|
||||
check = mkOption {
|
||||
description = "Script to run as part testing";
|
||||
type = types.nullOr types.lines;
|
||||
default = null;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue