Skip to content

Write bats logs to tmp or log #87

@jasonkarns

Description

@jasonkarns

Can we configure bats to write these to tmp/ or log/? (I'm surprised those aren't already ignored patterns since I usually do that by default.)

I much prefer gitignores to have a few limited, and consistent patterns. And to ensure the project follows larger trends and conventions, than to have a bunch of one-off ignore patterns for each separate tool and file. (This is especially true for libraries that have packaging, like npm that would require excluding those additional files from the distributed package separately from version control config.)

This is an opportunity to improve bats itself, I think, to lean on prior art and write its logs to tmp or log instead of defaulting to its own bespoke directory? But even if the bats default remains, we could enforce a neater location?

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