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
Christof Thalhofer
d7a478cc81
Fix: Test bails out if testmodule doesn't exist
2020-04-26 11:23:01 +02:00
Christof Thalhofer
d02c023e67
TestFailures and TestSummary updated
2020-04-26 11:03:53 +02:00
Christof Thalhofer
f36f656110
selftests: get rid of old plans
2020-04-26 10:48:30 +02:00
Christof Thalhofer
7d55499305
Better readability of TAP output for humans
...
... I mean elder humans, like me
2020-04-26 10:44:59 +02:00
Christof Thalhofer
24ef4c8c07
Fix: BailOut stops all tests
2020-04-26 10:41:35 +02:00
Christof Thalhofer
470cdf7cf0
Merge branch 'testing-system' of ssh://gitlab.com/christhal/gambas into testing-system
2020-04-25 21:29:49 +02:00
Christof Thalhofer
b640e5116b
Tasks to do until gb.test is done so far
2020-04-25 21:28:51 +02:00
Christof Thalhofer
e5c9b3c1c2
gb.test and gbt3 some refactoring and future tasks
2020-04-25 21:28:51 +02:00
Christof Thalhofer
9870741dcc
Tasks to do until gb.test is done so far
2020-04-25 20:19:53 +02:00
Christof Thalhofer
8ff76cb279
gb.test and gbt3 some refactoring and future tasks
2020-04-25 11:42:19 +02:00
Tobias Boege
aeef68eedf
gb.test: Rename ReverseNext to IntendedFailure
...
IMHO a more descriptive name. One can "reverse" so many things.
2020-04-25 11:42:19 +02:00