Skip to content

Conversation

@andercodder
Copy link

  • Add mini test fixtures for short test mode
  • Reduce Cargo.lock from 65K to 1.8K (97% smaller)
  • Reduce renv.lock from 44K to 1.5K (97% smaller)
  • Reduce Gemfile.lock from 16K to 723B (96% smaller)
  • Reduce package-lock.json from 4.4K to 1.5K (66% smaller)
  • Add fixture path helper to select mini/full based on LONG_TESTS()
  • Tests now run in short mode instead of being skipped
  • Long tests unchanged (LONG_TESTS=1 pytest)
  • Maintains full coverage while improving speed

Timing: 4 tests pass in ~10.6s (2.3-2.8s each)

Fixes #4321

- Add mini test fixtures for short test mode
- Reduce Cargo.lock from 65K to 1.8K (97% smaller)
- Reduce renv.lock from 44K to 1.5K (97% smaller)
- Reduce Gemfile.lock from 16K to 723B (96% smaller)
- Reduce package-lock.json from 4.4K to 1.5K (66% smaller)
- Add fixture path helper to select mini/full based on LONG_TESTS()
- Tests now run in short mode instead of being skipped
- Long tests unchanged (LONG_TESTS=1 pytest)
- Maintains full coverage while improving speed

Timing: 4 tests pass in ~10.6s (2.3-2.8s each)

Fixes intel#4321
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test: improve performance on our slowest tests

1 participant