lcpz/lain

We need a test suite

Open

#527 opened on Mar 24, 2022

View on GitHub
 (4 comments) (0 reactions) (0 assignees)Lua (162 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (597 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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).

Contributor guide