Automated tests should show more feedback than a progress bar

Bug #333916 reported by Marc Tardif
24
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Checkbox (Legacy)
Won't Fix
Wishlist
Unassigned
Checkbox GUI (Legacy)
Won't Fix
Wishlist
Unassigned
PlainBox (Toolkit)
Fix Released
Undecided
Unassigned

Bug Description

Some automated tests might take a very long time to run. So, showing a progress bar during all that time would give no indication whether tests were being run or the application was simply stalled. Instead, it should be possible to provide feedback to the user by showing the stdout of the tests being run. This should be displayed either in the same scrollable area where questions were asked or in an optional xterm-like window like in gdebbi.

Tags: checkbox-ui
David Murphy (schwuk)
Changed in checkbox:
importance: Undecided → Medium
milestone: none → 0.8-featurefreeze
status: New → Triaged
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

There should be a collapsible text field underneath the progress bar which gives a view to the stdout of the script. Some test will have to be enhanced to take advantage of this feature (e.g. stress, memory/check)

tags: added: checkbox-ui
Revision history for this message
Jeff Lane  (bladernr) wrote :

Removing the milestone because we're way past checkbox 0.8 feature freeze :)

Changed in checkbox:
milestone: 0.8-featurefreeze → none
Ara Pulido (ara)
Changed in checkbox:
importance: Medium → Wishlist
Revision history for this message
Daniel Manrique (roadmr) wrote :

Should be implemented in checkbox-gui, not in checkbox-legacy as it's a new feature.

affects: checkbox → checkbox-legacy
Changed in checkbox-gui:
status: New → Triaged
importance: Undecided → Wishlist
Changed in checkbox-legacy:
status: Triaged → Won't Fix
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

I've set this to plainbox and set the status to triaged. I have thought of a way to run new-style jobs that have richer capabilities to express their UI. Those would be a new 'plugin' (here probably 'textland') and the way we'd run such jobs would be different. PlainBox would become a textland server hosting a display made by another program in another process. That other process could them be written to a rough set of guidelines and use simple widgets like text gauges.

Alternatively we could offer tests a side channel to pass additional events across but I don't like that (smells like debconf) approach.

Ultimately this bug boils down to having good UI on both graphical tests (using a zoo of toolkits) and on command line tests (using nothing or textland as we go, maybe)

Changed in plainbox:
status: New → Triaged
Zygmunt Krynicki (zyga)
Changed in plainbox:
status: Triaged → Fix Released
Changed in checkbox-gui:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.