New posts
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user