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

Write documentation on test resources #313

Open
jecisc opened this issue Jul 21, 2020 · 2 comments
Open

Write documentation on test resources #313

jecisc opened this issue Jul 21, 2020 · 2 comments
Labels

Comments

@jecisc
Copy link
Member

jecisc commented Jul 21, 2020

No description provided.

@jecisc jecisc added the NewPage label Jul 21, 2020
@kilon
Copy link
Contributor

kilon commented Jul 24, 2020

A bit more explanation what this mean for us that don't know exactly what test resources are

@jecisc
Copy link
Member Author

jecisc commented Jul 24, 2020

It's the reason I would like to write a page for it but I need to find the time.

Test resources is a resource of SUnit that can be linked to a test case.
It will be setup before running any test, and will be tear down after the tests are finished.

Compare to the #setUp and #tearDown method, it is setup/teardown once for all the tests of the test resource. This can be an equivalent to the @beforeClass and @afterclass of JUnit kind of.

It is useful when you have a resource taking some time to setup and that is used in read only and never updated.

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

No branches or pull requests

2 participants