Atoum.js
The modern, simple and intuitive PHP 5.3+ unit testing framework, now for JS
Install / Use
/learn @jubianchi/Atoum.jsREADME
atoum.js
The modern, simple and intuitive PHP 5.3+ unit testing framework, now for JS
How to install
$ git clone https://github.com/jubianchi/atoum.js.git
$ cd atoum.js
$ npm install
How to use
$ bin/atoum -h
Options:
--help, -h Display this help message [boolean]
--directory, -d Test directory [string] [default: []]
--file, -f Test file [string] [default: []]
--xunit Enable xUnit report [boolean] [default: false]
--xunit-output Path to xUnit report file [string] [default: "xunit.xml"]
--coverage Enable code coverage report [boolean] [default: false]
--coverage-dir Path to sources to instrument [string] [default: "lib"]
--inline Use inline engine instead of concurrent [boolean]
Example
# This will run all tests in the given directory
$ bin/atoum -d path/to/tests/directory
How to write tests
Here is an example test.
Other examples with multiple test cases.
Hacking atoum.js
# This will run the atoum.js' test suite
$ make test
Related Skills
node-connect
347.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.6kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.6kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。


