nix-community.nixvim/tests/test-sources/plugins/by-name/neotest/dotnet.nix
Austin Horstman ccc2469e4f
tests/neotest: disable on darwin
Upstream package failing to build in sandbox. Cannot set a package to
null so just disabling those tests on darwin.
2024-09-15 12:22:33 -05:00

33 lines
833 B
Nix

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