klen / klen/nvim-test

Dynamic arguments at runtime

Open
#15 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
200
Forks
25
PR merge metrics
No merged PRs in 30d

Description

Hi,

the one thing I am really missing at the moment, is to pass arguments to the test command on the fly.
Using pytest for example, every now and then it is really helpful to get more verbose output via -vvv or to drop into the debugger if a test fails with --pdb
Ideally one could append these extra flags to the test command, like: TestNearest -vvv --pdb

Is this already doable and I missed how to do it? Otherwise this would be a really helpful feature.

Thanks,
Andreas

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking how nvim-test constructs the TestNearest command and whether it already accepts extra arguments. Reproduce the requested case with TestNearest -vvv --pdb; done means those flags reach pytest while normal test runs remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
testing, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.