FPCUnit: GUI runner improvements

As I'm working constantly with both DUnit and FPCUnit, the differences of shortcuts and ergonomic are significants when running in GUI mode. I.e.

  • "Run all tests" on Ctrl+R is less intuitive and usable that F9 in DUnit. Indeed, I run tests from Lazarus by F9 and would run them all immediately by F9 too.
  • Check box states of selected tests are not saved between the runs so we need to do it every time... very annoying.
  • Cannot close form by simple "Escape" as in DUnit but Alt+F4 or mouse manipulations are required.

To avoid these inconveniences I modified slightly source files of "guitestrunner.*".

Indeed, you don't need to modify and recompile Lazarus, it is sufficient to place 2 files

to some directory (i.e. Tests/Common) and add this path to your project's settings (Path -- Other unit files (-Fu)). After recompiling, FPCUnit GUI fix all indicated problems.

Free Pascal tracker issue: http://bugs.freepascal.org/view.php?id=2...

That works for me on Lazarus 1.2.x and 1.4.