This is a major release that will require regenerating your snapshots, but the benefits are huge.
- Allows running snapshot tests with pytest-xdist. This will run significantly faster. As an example, on an M1 MBP, Textual's own test suite went from 3.5 mins to 20 seconds.
- Generate separate SVG files for snapshots. This allows you to open and view the snapshots easily, and they will even render as SVG diffs directly inside GitHub pull requests (https://x.com/_darrenburns/status/1818759215089086846)
- New darker theme for snapshot report.
What's Changed
- Fix duplicate element IDs by @1j01 in #5
- Add support for pytest-xdist for much faster Textual tests. by @paul-ollis in #9
- Various improvements by @darrenburns in #11
New Contributors
- @1j01 made their first contribution in #5
- @paul-ollis made their first contribution in #9
Full Changelog: v0.4.0...v1.0.0