Files
Claudio Ortolina 6a3e9695db ML-184: add Presto smoke test harness
Add a headless smoke-test harness for the Presto microPython app using
pimoroni-emulator mock modules.  A PRESTO_TEST_MODE=1 guard prevents
main() from running at import time so draw functions can be called
directly from tests.

- presto/main.py: wrap main() with PRESTO_TEST_MODE guard
- presto/tests/: conftest with emulator fixtures, 7 smoke tests
- presto/mise.toml: add [tasks.test]
- presto/README.md, presto/AGENTS.md: add Testing section
- .gitignore: exclude test __pycache__, pytest_cache, fixture pngs
2026-05-15 10:53:08 +01:00

64 lines
1.3 KiB
Plaintext

# The directory Mix will write compiled artifacts to.
/_build/
# If you run "mix test --cover", coverage assets end up here.
/cover/
# The directory Mix downloads your dependencies sources to.
/deps/
# Where 3rd-party dependencies like ExDoc output generated docs.
/doc/
# Ignore .fetch files in case you like to edit your project deps locally.
/.fetch
# If the VM crashes, it generates a dump, let's ignore it too.
erl_crash.dump
# Also ignore archive artifacts (built via "mix archive.build").
*.ez
# Temporary files, for example, from tests.
/tmp/
# Ignore assets that are produced by build tools.
/priv/static/assets/
# Ignore digested assets cache.
/priv/static/cache_manifest.json
# In case you use Node.js/npm, you want to ignore these.
npm-debug.log
/assets/node_modules/
# Database files
/data/*.db
/data/*.db-*
# Environment variables
/mise.local.toml
# LSP Servers
/.lexical
/.expert
# Claude Code MCP config (port varies per worktree)
/.claude/audit
/.claude/reviews
/.claude/plans
/.claude/settings.local.json
# Presto device secrets (never commit)
/presto/secrets.py
/presto/__pycache__
# Superpowers brainstorming mockups
/.superpowers/
/.pi/extensions/s3-browser/node_modules
/.pi/extensions/sensitive-file-guard/node_modules
/presto/tests/__pycache__
/presto/tests/fixtures/*.png
/presto/tests/.pytest_cache