18 lines
667 B
Plaintext
18 lines
667 B
Plaintext
OriginalExamplesFixture (PerformanceTrackerExtension, TransactionalExtension)
|
|
>>> PERFORMANCE: Test [myTest()] took N ms
|
|
>>> DB: Starting Transaction for testUserSave()
|
|
Executing: Saving User to DB
|
|
>>> DB: Rolling back Transaction for testUserSave()
|
|
-- results
|
|
myTest() -> SUCCESSFUL
|
|
testUserSave() -> SUCCESSFUL
|
|
|
|
RegisterExtensionFixture (TempDirectoryExtension)
|
|
>>> EXTENSION: Initializing directory at /custom/path/logs
|
|
Using directory: /custom/path/logs
|
|
>>> EXTENSION: Cleaning up directory at /custom/path/logs
|
|
-- results
|
|
testLogCreation() -> SUCCESSFUL
|
|
|
|
(the millisecond figure is masked as N; the fixture sleeps 42 ms and the test asserts at least 42)
|