Attest
Modern, Pythonic test automation
Install / Use
/learn @dag/AttestREADME
Modern Test Automation for Python
Attest is a test automation framework for Python emphasising modern idioms and conventions.
.. code-block:: python
from attest import Tests
math = Tests()
@math.test
def arithmetics():
"""Ensure that the laws of physics are in check."""
assert 1 + 1 == 2
if __name__ == '__main__':
math.run()
Features
- Collect tests using decorators instead of matching names against a regexp
- Set up fixtures as context managers that can be combined and reused
- Use the assert statement with arbitrary expressions that are inspected on failure
- Scan for collections by type rather than by name
- Treat tests as Python packages rather than script files
Related Skills
node-connect
352.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate 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
352.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
