Menu

#26 Screen section testsuite

GC 3.0
closed
5 - default
2018-03-26
2016-01-20
Edward Hart
No

Attached is a testsuite for the runtime behaviour of the screen section. I've been maintaining it for a while now and I'm sure others will find it useful.

Note that it assumes your system has xterm installed. If you don't have xterm or want to run the tests in a different terminal, just replace xterm in the source with the name of your terminal emulator.

Compile with

autom4te --lang=autotest -o ./testsuite ./screen_test.at

The latest version is found in the comments below.

Related

Patches: #23

Discussion

  • Edward Hart

    Edward Hart - 2016-01-23
    • labels: --> screen section
     
  • Edward Hart

    Edward Hart - 2016-02-17
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,6 +1,6 @@
     Attached is a testsuite for the runtime behaviour of the screen section. I've been maintaining it for a while now and I'm sure others will find it useful.
    
    -Note that assumes yoiur system has `xterm` installed. If you don't or want to run the tests in a different terminal, just replace `xterm` in the source with the name of your terminal emulator.
    +Note that it assumes your system has `xterm` installed. If you don't have `xterm` or want to run the tests in a different terminal, just replace `xterm` in the source with the name of your terminal emulator.
    
     Compile with
     ~~~~
    
     
  • Edward Hart

    Edward Hart - 2016-02-17

    This version includes checks for BLANK, ERASE, DISPLAY ... AT and [bugs:#202].

     

    Related

    Bugs: #202

  • Edward Hart

    Edward Hart - 2016-07-14

    Updated for [bugs:#246]. This version includes checks for LINE 0, COLUMN 0, LINE 0 COLUMN 0, DISPLAY SPACES, DISPLAY LOW-VALUE, DISPLAY ALL X"01", DISPLAY ALL X"02" and DISPLAY ALL X"07".

     

    Related

    Bugs: #246

  • Edward Hart

    Edward Hart - 2017-09-11

    Updated for [bugs:#423]. Includes checks for SIZE and UPDATE. One test currently fails due to [bugs:#428].

     

    Related

    Bugs: #423
    Bugs: #428


    Last edit: Edward Hart 2017-09-11
  • Simon Sobisch

    Simon Sobisch - 2018-03-25
    • status: open --> closed
    • assigned_to: Edward Hart --> Simon Sobisch
    • Group: Test --> GC 3.0
     
  • Simon Sobisch

    Simon Sobisch - 2018-03-25

    Integrated as manual testsuite with [r2506] + [r2507], may be run with make checkmanual (we can rename this with a time frame until 3.0-rc1 [should be done within one week]).

    As the actual way to run may need to be tweaked locally I've moved this part to a local script that may be changed by the user.

    @Edward: Please adjust the "environment" as you want and update the actual tests if you have anything more recent. I'll add more tests when adjusting the extended screen behaviour, too.

     
  • Simon Sobisch

    Simon Sobisch - 2018-03-26

    Note: [r2509] added the option to run with screen instead of xterm and always defaults to using screen if $DISPLAY is not set (I think this should work in most cases but there may be a better solution).

     

Log in to post a comment.

MongoDB Logo MongoDB