How to change TestNearest values?
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 3.2k
- Forks
- 411
- Avg merge
- 1h 30m
- Merged PRs (30d)
- 5
Description
I am using docker to run Laravel so I configure locally
let g:test#php#phpunit#executable = 'docker-compose run --rm artisan test'
The problem is that when I run :TestNearest, I get the following error, cannot open the file

When executing this command I get that error.
docker-compose run --rm artisan test --colors --filter='::testBasicTest' src/tests/Feature/ExampleTest.php
I am reading the document and the transformations may be useful, but I have a hard time understanding it completely 😅
Is there a way to change the parameters of :TestNearest to one of the options in the image?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with vim-test's documentation on transformations and the phpunit executable configuration, then reproduce the reported :TestNearest command using the shown docker-compose setup. Determine whether the requested arguments can be configured and define the supported behavior or documentation change needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker-compose, laravel, php, vim
- Domain
- testing, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100