Editor: save file before running tests
Wednesday, 1 August 2018 · 3 messages
AM
Andreas Mixich1 Aug 2018 22:54 #
Hi,
it seems, the editor runs unit tests from the file as it is on disk. Could the user be notified of unsaved changes before running tests? I just spent some quality time trying to understand, why my assertions failed when I realized, that... ;-)
--
Goody Bye, Minden jót, Mit freundlichen Grüßen,
Andreas Mixich
CG
Christian Grün1 Aug 2018 23:05 #
Quoted text · Andreas Mixich · 4 lines
> it seems, the editor runs unit tests from the file as it is on disk. > Could the user be notified of unsaved changes before running tests? I > just spent some quality time trying to understand, why my assertions > failed when I realized, that... ;-)
In the Editor Preferences dialog (on Windows: Options → Preferences), you can choose the option "Save before executing files". Maybe this will make your life easier.
AM
Andreas Mixich1 Aug 2018 23:41 #
Quoted text · Christian Grün · 4 lines
Christian Grün wrote: > In the Editor Preferences dialog (on Windows: Options → Preferences), > you can choose the option "Save before executing files". Maybe this > will make your life easier.
Totally. Thanks! :)
--
Goody Bye, Minden jót, Mit freundlichen Grüßen,
Andreas Mixich
Written for BaseX 9.0. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery