ghcide/test
Jacek Generowicz 986bc04014 Stop waiting in tests which don't need to (#145)
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.
2019-10-01 14:52:07 +02:00
..
cabal/Development/IDE/Test Enable more warnings for the ghcide codebase (#75) 2019-09-17 08:50:20 +02:00
exe Stop waiting in tests which don't need to (#145) 2019-10-01 14:52:07 +02:00
manual/lhs added unlit stage for literate Haskell source files 2019-09-11 11:56:26 +02:00
src/Development/IDE ghcide: make tests fail on unexpected diagnostic messages (#2813) (#2823) 2019-09-10 15:01:33 +02:00