mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #7143 from open-sausages/pulls/4.0/test-docs
Update sapphiretest docs
This commit is contained in:
commit
695e0483aa
@ -2071,6 +2071,8 @@ New `TimeField` methods replace `getConfig()` / `setConfig()`
|
||||
|
||||
### <a name="overview-testing"></a>SapphireTest
|
||||
|
||||
* `is_running_tests()` is no logger public and user code should not rely on this. Test-specific behaviour
|
||||
should be implemented in `setUp()` and `tearDown()`
|
||||
* `setUpOnce` removed. Please use `setUpBeforeClass`
|
||||
* `tearDownOnce` removed. Please use `tearDownAfterClass`
|
||||
* `TestListener` class removed
|
||||
|
Loading…
x
Reference in New Issue
Block a user