lcpz/lain

We need a test suite

Open

#527 aperta il 24 mar 2022

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)Lua (162 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (597 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

The idea is to have a lain-test.lua, which requires lain-test-{util, widget, layout}.lua, each of which requires all elements of the respective submodule with all possible options set. Tests could be performed with Xephyr as follows:

Xephyr :1 -screen 1280x800 2> stdout.txt & DISPLAY=:1 awesome -c lain-test.lua

This structure and workflow will serve as a unit, integration and system test suite.

They will also be used to do regression testing for each new commit (e.g., using Travis CI).

Guida contributor