Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update FAQ about setup and teardown for all tests #861

Merged
merged 8 commits into from
Feb 20, 2024

Conversation

Crown0815
Copy link
Contributor

According to https://bats-core.readthedocs.io/en/stable/writing-tests.html#setup-and-teardown-pre-and-post-test-hooks the old FAQ answer is out of date.

I hope this one better represents the current state.

@Crown0815 Crown0815 requested a review from a team as a code owner February 15, 2024 11:33
docs/source/faq.rst Outdated Show resolved Hide resolved
docs/source/faq.rst Outdated Show resolved Hide resolved
Crown0815 and others added 4 commits February 20, 2024 00:06
Thanks @martin-schulze-vireso

Co-authored-by: Martin Schulze <37703201+martin-schulze-vireso@users.noreply.github.com>
Automatic section labeling will enable cross referencing between files without requiring explicit labeling of each section.
@martin-schulze-vireso
Copy link
Member

martin-schulze-vireso commented Feb 19, 2024

I rebased this onto current master to get a preview. The link is stable and will update with further changes.

Unfortunately, the linking does not seem to work. You can iterate locally with sphinx. Nevermind, got it to work.

@martin-schulze-vireso martin-schulze-vireso merged commit cca66b3 into bats-core:master Feb 20, 2024
52 of 54 checks passed
@martin-schulze-vireso
Copy link
Member

Thanks for your contribution!

@Crown0815 Crown0815 deleted the patch-2 branch February 21, 2024 17:33
@Crown0815
Copy link
Contributor Author

Thanks for your contribution!

Glad I could contribute!
Thank you for this great tool 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants