Skip to content

Add load.bash helper file #52

Open
@jacksgt

Description

@jacksgt

Hello,

some of the other BATS helper libraries have a load.bash helper file in the root of the repository.

This makes it easier to include the library with bats_load_library:

bats_load_library has two modes of resolving requests:

  1. by relative path from the BATS_LIB_PATH to a file in the library
  1. by library name, expecting libraries to have a load.bash entrypoint

https://bats-core.readthedocs.io/en/stable/writing-tests.html#bats-load-library-load-system-wide-libraries

It would be great if we can add it for this library as well.

Metadata

Metadata

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