plugins.rustaceanvim.settings.tools.crate_test_executor

The executor to use for runnables that are crate test suites (--all-targets). Either a test executor alias or an attrs with the execute_command key.

Type: null or one of “termopen”, “quickfix”, “toggleterm”, “vimux”, “neotest”, “background” or (submodule)

Default: null

Declared by:

plugins.rustaceanvim.settings.tools.crate_test_executor.execute_command

  fun(cmd:string,args:string[],cwd:string|nil,opts?:RustaceanExecutorOpts)

  Example:
  ```lua
    function(command, args, cwd, _)
      require('toggleterm.terminal').Terminal
        :new({
          dir = cwd,
          cmd = require('rustaceanvim.shell').make_command_from_args(command, args),
          close_on_exit = false,
          direction = 'vertical',
        })
        :toggle()
    end

Type: null or lua code string

Default: null