nvim-neotest / nvim-neotest/neotest-python

Container Support

Open
#71 4 comments 12 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
192
Forks
60
PR merge metrics
No merged PRs in 30d

Description

Is there a possibility of adding container support for running tests inside a docker/podman instance.
For example running a command like $ docker compose run --rm django coverage run -m pytest with Neotest and viewing results inside Neovim?

I see there is nvim-neotest/neotest#89 which shows a workaround for rspec, but this extension would need a bigger workaround it seems.

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 reading the issue's proposed docker compose run --rm django coverage run -m pytest workflow and the workaround in nvim-neotest/neotest#89. Determine how containerized test execution would integrate with neotest-python and what is required for results to appear inside Neovim; done means the workflow runs and results are viewable there.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, neovim, python
Domain
devtools, testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.