filmil / bazel-bats

bazel-bats: bazel test rules for the BATS testing framework (based on bats-core)
Apache License 2.0
10 stars 4 forks source link

Support passing additional arguments to `bats` #22

Closed fmorency closed 1 year ago

fmorency commented 1 year ago

Fixes #21

A "crude" attempt at supporting custom bats command-line argument. I would be happy to learn if there's a more idiomatic way of doing this.

You can see a usage example in https://github.com/liftedinit/many-rs/pull/355/files#

I'll be on paternity leave in the next few weeks; I didn't have time to add tests. I still wanted to open the PR for visibility.