Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add integration testsuite #1678

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open

Add integration testsuite #1678

wants to merge 18 commits into from

Commits on Feb 5, 2023

  1. Configuration menu
    Copy the full SHA
    e085431 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e9a1639 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1e46b9f View commit details
    Browse the repository at this point in the history
  4. Some updates to assist with testing

    TRIAGEBOT_TEST_RECORD can be used to record webhook events to disk.
    TRIAGEBOT_TEST_DISABLE_JOBS can be used to disable automatic jobs.
    ehuss committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    17a8f15 View commit details
    Browse the repository at this point in the history
  5. Add an integration test

    ehuss committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    2ffe1ef View commit details
    Browse the repository at this point in the history
  6. Add some docs on testing

    ehuss committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    b3dffd6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    41be270 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b7dbcc1 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2023

  1. Configuration menu
    Copy the full SHA
    a4d4a68 View commit details
    Browse the repository at this point in the history
  2. Move job task spawners to separate functions.

    This helps keep the `run_server` function a little smaller, and makes
    the disabling code a little clearer. This also adds a check if test
    recording is enabled, to help avoid jobs interfering with recording.
    ehuss committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    436a1ee View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    03a83c2 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2023

  1. Rework Activity in how it differentiates a JSON vs non-JSON response.

    Not all API responses are JSON, which can make it a bit awkward to
    differentiate which kind of responses are JSON. This unifies the
    two Activity variants so that there is only one, which simplifies
    things a bit. Non-JSON responses are stored as a JSON string, under
    the assumption that GitHub never response with a JSON string.
    ehuss committed Feb 20, 2023
    Configuration menu
    Copy the full SHA
    7b98215 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2023

  1. Configuration menu
    Copy the full SHA
    68e214c View commit details
    Browse the repository at this point in the history
  2. Add support for using SQLite.

    ehuss committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    9b477b0 View commit details
    Browse the repository at this point in the history
  3. Don't delete recordings.

    This can help avoid accidentally deleting something that hasn't been
    checked in yet.
    ehuss committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    5254631 View commit details
    Browse the repository at this point in the history
  4. Deal with subsecond precision differents in db tests.

    Apparently some environments roundtrip datetimes in Postgres
    with different precision.
    ehuss committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    99bb336 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2023

  1. Revert "Don't delete recordings."

    This reverts commit 5254631.
    ehuss committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    de44778 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2023

  1. WIP

    ehuss committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    def8ccc View commit details
    Browse the repository at this point in the history