CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Task #11719

Update the progress bar in a smarter way

Added by Oliver Klee over 2 years ago.

Status:New Start date:2010-12-25
Priority:Could have Due date:
Assignee:- % Done:

0%

Category:-
Target version:Cleanup
PHP Version:
Votes: 0

Description

Instead of echoing JavaScript snippets after each finished test, let's have some JavaScript that updates the progress bar regularlay (e.g. each 0.2 seconds), calculates the number of run tests and sets the status bar to error/failed if necessary.

If the status bar already is error/failed, we don't need to check for that anymore.

The script should end when there is the "tests have finished" element. (This will lead to the script still running when the tests have crashed. This is not very nice, but does not much harm anyway. Maybe we can detect this in some way.)

Also available in: Atom PDF