From 017ce2e28ddb1e8f518e011ccd21c1b2b359a5f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Thu, 10 Jun 2021 17:23:56 +0200 Subject: [PATCH] testing_faq: PlatformTestUtil.startPerformanceTest --- topics/basics/testing_plugins/testing_faq.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/topics/basics/testing_plugins/testing_faq.md b/topics/basics/testing_plugins/testing_faq.md index 2cb64c6a7..01f001fb8 100644 --- a/topics/basics/testing_plugins/testing_faq.md +++ b/topics/basics/testing_plugins/testing_faq.md @@ -41,6 +41,10 @@ Use [`FileBasedTestCaseHelper`](upsource:///platform/testFramework/src/com/intel ### How to modify setup on per-test basis? 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?