mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
testing_faq: PlatformTestUtil.startPerformanceTest
This commit is contained in:
parent
b1d0765446
commit
017ce2e28d
@ -41,6 +41,10 @@ Use [`FileBasedTestCaseHelper`](upsource:///platform/testFramework/src/com/intel
|
|||||||
### How to modify setup on per-test basis?
|
### How to modify setup on per-test basis?
|
||||||
|
|
||||||
Use `UsefulTestCase.getTestName()` or create your own annotation(s) which can be checked via `UsefulTestCase.annotatedWith()`.
|
Use `UsefulTestCase.getTestName()` or create your own annotation(s) which can be checked via `UsefulTestCase.annotatedWith()`.
|
||||||
|
|
||||||
|
### How to run performance test?
|
||||||
|
|
||||||
|
Use [`PlatformTestUtil.startPerformanceTest()`](upsource:///platform/testFramework/src/com/intellij/testFramework/PlatformTestUtil.java) to assert machine-adjusted metrics.
|
||||||
|
|
||||||
### How to dispatch pending UI events?
|
### How to dispatch pending UI events?
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user