kotlin icon indicating copy to clipboard operation
kotlin copied to clipboard

KT-52724 add timeout flag to dry-run and allow dry-run to be skipped altogether

Open untoldwind opened this issue 2 years ago • 1 comments

Issue: https://youtrack.jetbrains.com/issue/KT-52724

  • The --timeout flag is missing in the dry-run of the underlying mocha command
  • Since dry-run actually runs all the tests (just without the reporter) it might be feasible to skip it altogether.

untoldwind avatar Jun 10 '22 07:06 untoldwind

dry-run should not run tests, it implements kotlin-test interface methods suite and test with just empty bodies. It means that tests in fuct does not run.

Why we may need timeout for such cases?

As for skipping dry-run, possibly it can be feasible. Could you please explain case for this?

ilgonmic avatar Jun 21 '22 10:06 ilgonmic