nix-community.nixvim/tests/test-sources/plugins/by-name/neotest/dotnet.nix

34 lines
833 B
Nix
Raw Normal View History

{ lib, pkgs, ... }:
2023-11-22 09:38:52 +01:00
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
2023-11-22 09:38:52 +01:00
plugins = {
treesitter.enable = true;
neotest = {
enable = true;
adapters.dotnet = {
enable = true;
settings = {
dap = {
2024-05-05 19:39:35 +02:00
args = {
justMyCode = false;
};
2023-11-22 09:38:52 +01:00
adapter_name = "netcoredbg";
};
custom_attributes = {
2024-05-05 19:39:35 +02:00
xunit = [ "MyCustomFactAttribute" ];
nunit = [ "MyCustomTestAttribute" ];
mstest = [ "MyCustomTestMethodAttribute" ];
2023-11-22 09:38:52 +01:00
};
2024-05-05 19:39:35 +02:00
dotnet_additional_args = [ "--verbosity detailed" ];
2023-11-22 09:38:52 +01:00
discovery_root = "project";
};
};
};
};
};
}