Skip to content

Conversation

@jimwins
Copy link
Contributor

@jimwins jimwins commented Mar 1, 2024

Summary

Changes ./bin/test.sh to pass command line options through to pytest, and default to only running tests in the tests/ directory instead of everywhere excluding a few directories.

This means you can do things like ./bin/test.sh tests/test_add.py -k json to just run the JSON-related tests for add.

Also keeps the mock_server used in testing quiet so access log entries don't appear on stdout. (Maybe it would be useful to direct the log to a file somewhere but that seemed like more of a hassle than I wanted to tackle for now.)

Changes these areas

  • Bugfixes
  • Feature behavior
  • Command line interface
  • Configuration options
  • Internal architecture
  • Snapshot data layout on disk

Changes ./bin/test.sh to pass command line options to pytest, and default to
only running tests in the tests/ directory instead of everywhere excluding
a few directories which is more error-prone.

Also keeps the mock_server used in testing quiet so access log entries don't
appear on stdout.
@pirate pirate merged commit 62183b4 into ArchiveBox:dev Mar 2, 2024
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.

2 participants