pharo-wiki
pharo-wiki copied to clipboard
Write documentation on test resources
A bit more explanation what this mean for us that don't know exactly what test resources are
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.