2020-04-12 10:38:02 +02:00
## To Do
2020-06-03 08:18:42 +02:00
- Write Documentation
* [ ] Test.Main overall doc what is does and how tests are run.
## Work
2020-05-03 07:36:31 +02:00
- Plan
2020-05-26 09:55:56 +02:00
> If a plan failes it has to be reported in the TAP output as well as in the summary which is not the case at the moment. There is no plan for testmodules which counts the testmethods.
2020-05-03 07:36:31 +02:00
* [ ] Plan for testmodules (as a constant?)
2020-05-26 09:55:56 +02:00
* [ ] Plan failure must be reported in TAP output and in summary (there has to be reported where it fails).
2020-04-26 11:23:01 +02:00
- Plan selftests
> gb.test: Every subtest in all tests must plan the own assertion count
2020-05-02 18:35:48 +02:00
## Done
2020-06-03 08:18:42 +02:00
- Event handlers are not test methods
> Some test modules test object which emit events, but the event handlers are Public Subs which get picked up as test methods by gb.test. What can we do about it?
2020-05-28 11:21:43 +02:00
- TestAllAssertion must test all assertions
2020-05-28 09:30:15 +02:00
- Decide where Skip, SkipAll, Todo reside
> SkipAll is in Test, Skip in Assert, Todo in Assert. This is inconsistent, We have to decide where they should be. Chris: I am for Test.
2020-05-12 00:49:33 +02:00
- Install gbt3 at Gambas installation
> gbt3 is compiled and installed by make but there is no symlink gbt3 > gbt3.gambas
2020-05-03 10:24:13 +02:00
- Ensure TAP created according to spec
> Tested TAP via gbt3 and python tappy
- gbt3 has to return exit status at the end
2020-05-02 18:35:48 +02:00
- Assert and Test documentation
> Every public method in Test and Assert has to have a description
2020-05-02 11:53:30 +02:00
- Hide symbols in Test
> There are symbols in Test which should not be shown to the enduser. These shoult be hidden by a leading underscore:
* [ ] Subtest
* [ ] Finish
* [ ] Reset
2020-05-01 10:42:29 +02:00
- No Bug: Directives always 0
> Was no bug, was lack of understanding
2020-04-28 09:36:44 +02:00
- TestAssertion: Skip and Todo
> TestAssertion must contain variables to store Skip and Todo for summary. See TestSummary.
- Todo Directive
> Todo directive does not exist. See TestSummary. Was wrong. Todo exists.
2020-04-27 12:01:47 +02:00
- Free Assert from non-assertions
> There are things in Assert which are no assertions, like Print, Finish, Note and so on. These should be methods of Test. For example: Test.Plan, Test.Note, Test.Finish ...
2020-04-26 11:23:01 +02:00
- Test.Main has to complain if testmodule doesn't exist
- Human readability of TAP output
2020-04-25 11:38:52 +02:00
- Subtests don't count the right way
> If there is only one testmodule called, subtest counts a lot of subtests instead just one
- gb.test doesn't print to console
2020-05-01 15:57:53 +02:00
- Summary as a TAP comment
> Description in .hidden/summary-example-txt
* [x] New method Test.ShowTodos
* [x] New method Test.ShowSkips
2020-06-01 06:06:11 +02:00
- Parser parse subtests
2020-06-01 06:29:33 +02:00
- Skip all
> Parse `1..0 # SKIP` style TAPs indicating that a whole test was skipped.
2020-06-01 06:57:45 +02:00
- Document Approximate and RelativeApproximate