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

貢獻者指南