• L
    avocado: Shorter app output · c1728093
    Lucas Meneghel Rodrigues 提交于
    Instead of putting outputs on separate lines, condensate
    test results summary into a single line. The new output
    looks like:
    
    $ avocado run passtest
    JOB ID     : f2f5060440bd57cba646c1f223ec8c40d03f539b
    JOB LOG    : /home/user/avocado/job-results/job-2015-07-27T17.13-f2f5060/job.log
    JOB HTML   : /home/user/avocado/job-results/job-2015-07-27T17.13-f2f5060/html/results.html
    TESTS      : 1
    (1/1) passtest.py:PassTest.test: PASS (0.00 s)
    RESULTS    : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0
    TIME       : 0.00 s
    
    We updated a few unittests in order to not depend on the
    looks of the human output anymore, since unless we are
    specifically testing for human output behavior, the unittests
    should use machine readable output. Also, the documentation
    was updated to reflect the new output layout.
    Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
    c1728093
WritingTests.rst 34.5 KB