Skip to content

Partest should print test number/test file before running the test so that e. g. hangs can be diagnosed immediately #851

Closed as not planned
@scabug

Description

@scabug

I think it would be better to have the test status at the right, so that the line with the test number and the test file can be printed before the test is executed. When the test is finished, the result is added at the right side.

E. g.

& starting 1347 tests in run
   1 - run/absoverride.scala                             ok
   2 - run/amp.scala                                     ok 
   3 - run/adding-growing-set.scala                      

In the above example, test 3 would be running.

In cases where a test hangs, it is extremely annoying to not immediately see on which test partest is stuck.
It would also make test failures more intuitive, because the e. g. stacktrace would come after and not before the test number/file name/test status line.

See scala/scala#2418 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions