[Pharo-dev] Calypso idea - inherited tests

Denis Kudriashov dionisiydk at gmail.com
Wed May 29 18:25:21 EDT 2019


Hi Ben.

There are already two features that support inherited tests:
- run all tests using class icon: there will be extra red method group
"broken tests" which will show failed inherited tests.
- toggle inheritance visibility with checkbox in third panel: you will see
inherited tests and standard method icon will run them.

Is it what you are looking for? or do you need anything else?

ср, 29 мая 2019 г., 2:47 Ben Coman <btc at openinworld.com>:

> (Just a quick share from work before that neuron goes back to sleep and I
> forget it...)
>
> When a number of domain substitute classes need to satisfy the same tests,
> its useful to define these in a superclass and have subclasses define
> which domain class is being tested e.g.
> TestDelaySemaphoreSchedulerMmicrosecondTeicker>>classForScheduler.
>
> From the Browser "all tests" can be run for each subclass by clicking the
> class's test-icon,
> but when that goes red, its not visible which individual test failed, and
> you can't run an individual test from the Browser.
>
> In the same way that extension methods are shown in gray, it would be
> useful
> for inherited tests to be shown in gray, so each has an individual
> indication and can be run separately.
>
> cheers -ben
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20190529/3af76941/attachment.html>


More information about the Pharo-dev mailing list