Documentation outdated with regards to setup_suite? #715
Labels
Component: Docs
Priority: Medium
Wrong or misleading documentation, broken behavior with workaround
Size: Medium
Changes in the same file
Status: Confirmed
The reproducer worked as described
Type: Bug
The FAQ page says:
That bug is closed, and the "Writing tests" section of the documentation does mention a
setup_suite()
however, so I guess that's not the case anymore and it's just a matter of outdated documentation?On a similar note, the "Let's do some setup" of the Tutorial, does not mention
setup_suite()
either. That's both in the "Avoiding costly repeated setups" section, as well as in the "Setting up a multifile test suite" section. The latter even includes atest_helper/common-setup
helper and_common_setup
function, which seems to me like a way that was recommended to handle this use case beforesetup_suite()
existed.I'm pretty new to bats and I'm not sure if I've got it right -- apologies if this was a misunderstanding on my end!
The text was updated successfully, but these errors were encountered: