Commit graph

8164 commits

Author SHA1 Message Date
Christof Thalhofer
77436fd06d gb.test Setup and Teardown methods hidden 2020-05-11 22:26:08 +02:00
gambas
492dccc28f Make the component visible again.
[GB.TEST]
* NEW: Make the component visible again.
* BUG: Fix two typos in comments.
2020-05-11 21:02:39 +02:00
gambas
06cd374e52 Display a warning message when running tests, if there is no test modules.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas 13 fonts.
* NEW: Update french translation.
* NEW: Reorder debug panel buttons.
* NEW: Display a warning message when running tests, if there is no test modules.
2020-05-11 21:00:55 +02:00
gambas
4ffe077529 System tray now works with QT5. Drawing on a cached DrawingArea does not display a warning message anymore.
[GB.DESKTOP.X11]
* BUG: System tray now works with QT5. A display glitch remains.

[GB.QT4]
* BUG: Drawing on a cached DrawingArea does not display a warning message anymore.

[GB.QT5]
* BUG: Drawing on a cached DrawingArea does not display a warning message anymore.
* BUG: X11 event filter correctly handle ClientMessage events now.
2020-05-11 18:37:21 +02:00
Andy
27a6f2a5f2
CI Build Failure
[GITLAB]
* BUG: CI build fails on Eoan due to Timezone
* BUG: CI build fails on Eoan due to Keyboard
* BUG: CI build fails on Eoan due to Keyring
* BUG: CI build fails on Latest due to Timezone
* BUG: CI build fails on Latest due to Keyboard
* BUG: CI build fails on Latest due to Keyring
* BUG: CI Build fails on Latest due to Qt4
2020-05-11 03:49:49 -07:00
gambas
833178b0f9 Automatically load 'gb.test' for automatic completion.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatically load 'gb.test' for automatic completion.
2020-05-10 15:58:37 +02:00
gambas
e5adb0eff7 Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-10 14:52:10 +02:00
gambas
9a9d347c8a Automatically load 'gb.test' information.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatically load 'gb.test' information.
2020-05-10 14:51:53 +02:00
Christof Thalhofer
31b519d733 gb.test updated unittesthelloworld
[GB.TEST]
* NEW: example unittesthelloworld does not load component gb.test
2020-05-10 09:06:43 +02:00
gambas
f319132dfc Ignore hidden components specified in the project file.
[DEVELOPMENT ENVIRONMENT]
* BUG: Ignore hidden components specified in the project file.
2020-05-09 20:55:56 +02:00
gambas
ac5068e9c2 Automatically add 'gb.test' component information when a project includes a test module.
[COMPILER]
* BUG: Automatically add 'gb.test' component information when a project includes a test module.
2020-05-09 20:55:04 +02:00
gambas
44bacadeda Suport for unit tests in the IDE.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update french translation.
* NEW: Add a 'test' button, that run the project in test mode, using the debugger.
* NEW: Add a specific output tab for the unit tests result.
* BUG: Selection of menu icons now allows stock icons again.
2020-05-07 15:23:14 +02:00
gambas
db95af0cb2 Make 'gb.test' component hidden, as it is now loaded automatically.
[GB.TEST]
* NEW: Raise the component to the 'Stable but not finished' state.
* NEW: Make the component hidden, as it is now loaded automatically.
2020-05-07 15:15:57 +02:00
gambas
986ca05fc4 Automatically load 'gb.test' component when the '-T' option is used.
[INTERPRETER]
* NEW: Automatically load 'gb.test' component when the '-T' option is used.
2020-05-07 15:15:13 +02:00
Tobias Boege
fa27ff8204 gb.test: Tidy up TestHarness
[GB.TEST]
* OPT: Remove cruft from TestHarness. Use the new `gbx3 -T` mode. Make it a module.
2020-05-07 13:15:57 +02:00
Tobias Boege
e3a9ac58e8 gb.test: Exit with appropriate status code
[GB.TEST]
* BUG: Test.Main() now `Quit`s with 0 or 1 indicating whether tests passed or failed.
2020-05-07 13:15:54 +02:00
Tobias Boege
a965afa0e5 gb.test: Hide more classes and symbols
[GB.TEST]
* OPT: Hide more classes and symbols.

TapPrinter, TapParser and TapContext are not exported anymore. The Tap
constants are moved into other classes. Some public methods/properties
that expose printer, parser or context are hidden.
2020-05-07 12:57:55 +02:00
gambas
1cd23bb578 Interpreter options now accept a void argument.
[INTERPRETER]
* BUG: Interpreter options now accept a void argument.
2020-05-07 10:18:33 +02:00
gambas
931ecc6c61 Use '-r' interpreter option to redirect standard error output.
[DEVELOPMENT ENVIRONMENT]
* BUG: Use '-r' interpreter option to redirect standard error output.
2020-05-07 08:19:59 +02:00
gambas
368165ff2f Add '-T' option to run test modules.
[INTERPRETER]
* NEW: Add '-T' option to run test modules.
* NEW: Update help message and display options in alphabetic order.
* BUG: Use '-r' option now to redirect standard error output. No conflict anymore with '-t'.
2020-05-07 08:18:48 +02:00
Benoît Minisini
dc78477281 Update .gitlab-ci.yml 2020-05-04 19:53:36 +00:00
Benoît Minisini
61b5905489 Update 'debian-testing' with 'libgime-3.0-dev'. 2020-05-04 19:44:51 +00:00
Benoît Minisini
ab67621cc5 Add 'ubuntu-eoan', update 'ubuntu-latest'. 2020-05-04 19:42:23 +00:00
gambas
3c510ed644 Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-04 21:31:04 +02:00
gambas
e67263696f Search dialog: Support for browsing compressed files.
[DEVELOPMENT ENVIRONMENT]
* BUG: Search dialog: Support for browsing compressed files.
* NEW: Use global constants for IDE blue and orange colors.
2020-05-04 21:29:22 +02:00
gambas
7612fb0268 Stock: Better support of some icon themes. Add 'share' stock icon.
[GB.FORM]
* BUG: Stock: Better support of some icon themes.
* NEW: New stock icon 'share'.

[GB.FORM.STOCK]
* NEW: New stock icon 'share'.
2020-05-04 21:27:23 +02:00
gambas
5cfd01f3c1 WebListBox: Fix read of Index property.
[GB.WEB.GUI]
* BUG: WebListBox: Fix read of Index property.
2020-05-04 21:26:03 +02:00
Christof Thalhofer
f36281a694 Merge branch 'master' of https://gitlab.com/gambas/gambas 2020-05-04 12:51:03 +02:00
Christof Thalhofer
de4fc3c4cf gb.test README documentation
[GB.TEST]
* NEW: Update documentation in README
2020-05-04 12:47:03 +02:00
gambas
5675853767 WebListBox: Fix behaviour in multiple selection mode.
[GB.WEB.GUI]
* BUG: WebListBox: Fix behaviour in multiple selection mode.
* BUG: Fix how the executable path is forged.
2020-05-04 02:14:04 +02:00
Christof Thalhofer
f5dbf4074e gbt3: Fix. Raise error when path = Null, no sparse 2020-05-03 11:42:47 +02:00
Christof Thalhofer
c733083a32 gbt3 install and task 2020-05-03 11:26:05 +02:00
Christof Thalhofer
ed8f5b73ad gbt3: some fixes and tasks done
Returns exit code.

Doesn't print a summary any more as this is provided by gb.test.

Doesn't print blank line at the beginning any more. Plan has to be in
the first line.

Works fine with tappy (python TAP consumer)

Kills temporary startup file
2020-05-03 10:35:29 +02:00
Christof Thalhofer
fc2ad34525 README small fix 2020-05-03 07:42:45 +02:00
Christof Thalhofer
645f972bdf README and tasks updated 2020-05-03 07:36:31 +02:00
Christof Thalhofer
08d798c186 hide Test.Finish and documentation 2020-05-02 18:35:48 +02:00
Christof Thalhofer
36b2e39ebe Test Assert.Like 2020-05-02 17:22:58 +02:00
Christof Thalhofer
2c111a14c3 Assert documentation – not fully done
Left descrition of Approximate and RelativeApproximate to a mathematician.
;-)
2020-05-02 17:20:42 +02:00
Christof Thalhofer
178ce9c26c Remove TestSetupTeardown in TestMe also 2020-05-02 15:28:30 +02:00
Christof Thalhofer
6b2f8ec1b2 delete redundant TestSetupTeardown.test 2020-05-02 15:27:35 +02:00
Christof Thalhofer
91c4ce2638 started documentation and task hide symbols 2020-05-02 11:53:30 +02:00
Christof Thalhofer
3cf670ef85 Test.PrintSummary: Result in the last line 2020-05-01 18:59:20 +02:00
Tobias Boege
4c2a4f47f5 Show TODOs and SKIPs in summary
[GB.TEST]
* BUG: Do not trim whitespace from diagnostic lines.
* NEW: Show TODOs (failed and bonus) and SKIPs in summary.

Previously, TapPrinter.Diagnostic would Trim$ its argument before
splitting it by line. This would remove any indentation that may
be useful for formatted diagnostics output, so it has to go.
Additionally I special-case Null and gb.Lf to print exactly "#\n",
which is a common use case as a visual separator.
2020-05-01 15:57:53 +02:00
Christof Thalhofer
7d480229e0 Rewrite TestSummary and TestMe
TestSummary.DoSomeAsserts, DoTodo and DoSkip succeed
2020-05-01 10:42:29 +02:00
Christof Thalhofer
098c5915a5 New Bug: Directives are never stored.
This must be fixed before Summary can be created.
2020-04-28 12:17:02 +02:00
Christof Thalhofer
0943f349eb taskell updated: Todo exists 2020-04-28 09:36:44 +02:00
Christof Thalhofer
c306e9a5fc Fix: Free Assert from non-assertions
Assert free from non-assertions. Also Assert and Test now are
modules.
2020-04-27 12:01:47 +02:00
Christof Thalhofer
7712c62e47 taskell better explanation 2020-04-26 13:07:31 +02:00
Christof Thalhofer
750a6057d1 Taskell next task todo and skip
Both are not implemented well but necessary for summary
2020-04-26 12:49:06 +02:00
Christof Thalhofer
127eb07385 Merge remote-tracking branch 'upstream/master' into testing-system 2020-04-26 12:07:56 +02:00