summary refs log tree commit diff
path: root/nixos/lib/testing/name.nix
blob: a54622e139bf6d4f2642ea3bb22e8ef724e3d38b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ lib, ... }:
let
  inherit (lib) mkOption types mdDoc;
in
{
  options.name = mkOption {
    description = mdDoc ''
      The name of the test.

      This is used in the derivation names of the [{option}`driver`](#opt-driver) and [{option}`test`](#opt-test) runner.
    '';
    type = types.str;
  };
}