Tests use real FUSE operations against mounted beetfs filesystem: - test_smoke: mount/unmount lifecycle - test_nested_bug: detects critical indentation bug (13 failures) - test_readdir: directory listing - test_read: metadata overlay verification - test_stat: file/directory attributes - test_write: metadata modification - test_error_handling: ENOENT, EOPNOTSUPP Also includes: - conftest.py with BeetFSTestCase base class and synthetic FLAC generator - e2e-test-plan.md with Oracle-reviewed test strategy - flake.nix updated with ffmpeg/flac for test fixtures Run: cd tests && nix develop ../ --command python -m unittest discover
Uses nixpkgs-18.09 which has all required Python 2 packages: - fuse-python 0.2.1 - mutagen 1.41.1 - beets 1.4.9 (built from source) - jellyfish 0.6.1 - munkres 1.0.6 Run 'nix develop' or 'direnv allow' to enter the environment.