CircleCI-Public / CircleCI-Public/python-orb

Feat ✨: use tox in test job

Open
#70 2 comments 0 reactions 0 assignees View on GitHub
backlog type: enhancement
Dominant language
Shell
Stars
15
Forks
41
PR merge metrics
No merged PRs in 30d

Description

## Describe Request:

Use [tox](https://tox.readthedocs.io/en/latest/index.html) to run your test suite with the [test](https://github.com/CircleCI-Public/python-orb/blob/master/src/jobs/test.yml) job - next to `unittest` and `pytest`.

## Examples:

I would expect the following to work:

```
- python/test:
pkg-manager: pip
test-tool: tox
```

It would be nice to add another parameter `tox-posargs` to interactively pass [positional arguments](https://tox.readthedocs.io/en/latest/example/general.html?highlight=posargs#interactively-passing-positional-arguments) to tox.

## Supporting Documentation Links:

[tox](https://tox.readthedocs.io/en/latest/index.html)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with src/jobs/test.yml and compare how the existing unittest and pytest options are wired into the test job. Check the tox documentation linked in the issue, then verify that the example using test-tool: tox works and that positional arguments can be passed through as requested.

Written by the indexing model from the issue text.

Assessment

Domain
ci-cd, testing-qa
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.