Skip to content

Recipe detailing context in per-file and per-test hooks #1730

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

Closed
novemberborn opened this issue Feb 24, 2018 · 5 comments
Closed

Recipe detailing context in per-file and per-test hooks #1730

novemberborn opened this issue Feb 24, 2018 · 5 comments

Comments

@novemberborn
Copy link
Member

Via #1711 (comment) — it'd be great to document how t.context works in .before() / .after() and .beforeEach() / .afterEach() hooks. Examples should illustrate when context is copied and how to share references and values.

@Seiyial
Copy link

Seiyial commented Mar 6, 2018

Hi, I've recently used t.context in the .before() / .after() and .beforeEach() / .afterEach() hooks in my project successfully and would love to help with this. I'm rather new to open source contributing so any feedback/advice would be appreciated. Thanks!

@novemberborn
Copy link
Member Author

@Seiyial that's great! Have a look at some of our other recipes to see what we're looking for. Some of the more recently updates ones are:

Fork the repository, create a new Markdown file in the docs/recipes and go from your experiences. Then do a PR and we can help with any improvements.

@Seiyial
Copy link

Seiyial commented Mar 12, 2018

@novemberborn Sorry for the delay. Please let me know how you think about it, thanks!

@ghost
Copy link

ghost commented Oct 6, 2018

I have some free time this weekend, I'd be happy to build on @Seiyial's work in his PR and update it with @novemberborn's PR feedback. Any objection?

@novemberborn
Copy link
Member Author

Go for it @mh81. If you could retain @Seiyial's commits that'd be great.

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

No branches or pull requests

2 participants