RFC: Test progress feedback

Give test progress feedback via a throbber.
Yeah, as the comment says, this is not a correct implementation. Is a
matter of fact, I'm planning on a different approach wrt test states.

Again, this is a RFC, and thanks for the comments!


2014-08-05 11:09 GMT-03:00 Rudá Moura <notifications@github.com>:

> In avocado/job.py:
>
> > +                        should_quit = True
> > +                    test_state = q.get(timeout=cycle_timeout)
> > +                except Queue.Empty:
> > +                    if p.is_alive():
> > +                        self.job.output_manager.throbber_progress()
> > +                    else:
> > +                        should_quit = True
> > +
> > +                if should_quit:
> > +                    p.terminate()
> > +
> > +            if test_state is None:
> > +                # Fake test state, for means of compatibility only. Correct
> > +                # implementation should keep the last test_state received
> > +                # before a crash or test process termination
> > +                test_state = {}
>
> I consider to put in on a hidden function to create the fake test state:
> _create_fake_test_state().
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/avocado-framework/avocado/pull/125/files#r15814079>.
>