uvnote Integration Test
This directory contains a simple integration test for uvnote functionality.
Files
report.md- Test markdown document with Python cells demonstrating all key featurestest.sh- Integration test script that validates full workflowREADME.md- This file
Running the Test
cd test-repo
./test.sh
The test validates:
- Parsing: Markdown with Python code blocks and attributes
- Execution: Cell execution with uv run and dependency management
- Caching: Results are cached and reused appropriately
- HTML Generation: Static HTML output with embedded results
- Artifact Management: Files created by cells are copied to output
- CLI Commands: build, run, clean commands work correctly
Expected Outputs
After running the test, you should see:
site/report.html- Generated HTML reportsite/artifacts/- Directory containing cell outputs.uvnote/cache/- Cached execution results- Console output confirming all features work
The test uses deterministic data (seeded random numbers) to ensure reproducible results.