sstephenson / bats

Bash Automated Testing System
MIT License
7.13k stars 517 forks source link

Add the ability to include other test files #116

Open jszwedko opened 9 years ago

jszwedko commented 9 years ago

Adds an include directive that operates similar to load but allows you to include other bats test files rather than just bash scripts which allows for a simple way to DRY up similar tests.

See the added tests for a simple example of how this functionality might be used.

I can add documentation for this, but wanted to get feedback on the implementation first.

Thank you!

jszwedko commented 9 years ago

Addresses #99

jszwedko commented 9 years ago

Any feedback @sstephenson ?

rjernst commented 8 years ago

Any update here? This has sat around for 6 months, and is really useful...

sstephenson commented 8 years ago

Any update here? This has sat around for 6 months, and is really useful...

I’m aware there are lots of issues that need attention, but Bats is a personal project and I don’t have any time for it right now. I am looking for a full-time maintainer. Maybe that’s you?

nkakouros commented 6 years ago

I just found this PR. I have a similar PR here