Skip to content

tests: consider running from isolated scratch cwd #158

@lread

Description

@lread

While working on #152, I found myself wanting to test the effect of operations like (fs/delete-tree "").

Would you be ok with always running tests from an isolated scratch current working directory so that unit tests can test destructive operations on the cwd?

An isolated mutable cwd for tests seems like a good idea in general, what do you think?

If so, I am happy to take a crack at a PR to explore the idea.

Metadata

Metadata

Assignees

No one assigned

    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