mirror of
https://github.com/haskell/ghcide.git
synced 2024-12-04 15:52:08 +03:00
986bc04014
A while ago, `testSession` was modified to include a 0.5s wait, for the sake of tests which were looking for a specific and complete set of diagnostics, in order to ensure that all the incoming diagnostics had been received before the comparison was made. This made sense at a time when the vast majority of tests fit this pattern. Today we have plenty of tests which have no need for this. Hence: + `testSession` has been renamed to `testSessionWait` + a new `testSession` has been added, which does not wait at all + all tests which use `expectDiagnostics` have been modified to use `testSessionWait`, all other tests use the new delayless `testSession`. Locally this knocks almost 25% off the runtime of the full test suite. |
||
---|---|---|
.. | ||
cabal/Development/IDE/Test | ||
exe | ||
manual/lhs | ||
src/Development/IDE |