lcpz/lain

We need a test suite

开放

#527 创建于 2022年3月24日

 (4 条评论) (0 个反应) (0 位负责人)Lua (210 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (1,076 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南