Skip to content

Better way to change dirs in unit tests #50

@Iain-S

Description

@Iain-S

Given that some unit tests need to be run from tests/examples and some from tests/workspace and given that all tests should be executed from the root dir, do we have a better way to change directories that chdir() in the setUp/tearDown methods or in the test method itself? Could we find or write a function decorator to do this safely?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions