File: testing-checklist.md

package info (click to toggle)
notcurses 3.0.16%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 18,776 kB
  • sloc: ansic: 50,385; cpp: 17,806; python: 1,123; sh: 230; makefile: 44
file content (31 lines) | stat: -rw-r--r-- 1,247 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Release testing

## Unit tests

Run unit tests (`make && make test`):
* In each multimedia configuration (`ffmpeg`, `oiio`, `none`)
* With `LANG` set to `fr_FR.UTF-8` (to test comma as decimal separator)
* With `LANG` set to `C` (to test ASCII mode, necessary for debuilder)
* All must pass

## Manual tests

Run, using `valgrind --tool=memcheck --leak-check=full`:
* `notcurses-demo` in each of the three multimedia configurations
* `notcurses-demo` with `USE_QRCODEGEN=off`
* `notcurses-demo` in ASCII mode (`export LANG=C`)
* `notcurses-input`
* `ncplayer` with each scaling mode and an image + video, in three
   terminal geometries: square, tall, wide
* `notcurses-demo` with margins
* `notcurses-demo` with FPS plot and HUD up
* Play a game of `nctetris`
* Run each PoC binary, including `ncpp_build` and `ncpp_build_exceptions`

Bitmap tests; all must be done in both Sixel and Kitty environments:
* `ncplayer -bpixel`, make sure frame count/time is always visible
* `ncplayer -bpixel`, make sure we can switch to cells and back
* `ncplayer`, make sure we can switch into pixel and back
* `notcurses-demo k`, make sure bitmaps are deleted
* `notcurses-demo y`, make sure yield is always visible
All of these need to work without flicker.