Skip to content

Don't call self from subprocess for tests #285

@nathanjmcdougall

Description

@nathanjmcdougall

Motivation
Now that we have codecov, I can see the slow tests:
https://app.codecov.io/gh/nathanjmcdougall/usethis-python/tests/main?parameter=SLOWEST_TESTS

We should use #190 for these cases. The overhead of importing typer etc. slows things down significantly.

Summary of desired enhancement
Speed up tests by never calling usethis as a subprocess.

Metadata

Metadata

Labels

blockedAnother issue is preventing progresstestingAdditions or improvements to the test suite

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions