Skip to content

Add end-to-end quickstart test #2

@m3lixir

Description

@m3lixir

Context

The README quickstart has been manually validated, but it is not yet covered by an automated end-to-end test.

Goal

Add an automated test that runs the core quickstart workflow from a clean temporary directory.

Workflow to cover

  • chumdump init
  • chumdump bait create --type canary
  • chumdump dump build --profile website --count 1
  • chumdump deploy ./public
  • Create a simulated access log entry for the deployed bait file.
  • chumdump watch --logs ./access.log
  • chumdump bites
  • chumdump report --format markdown --stdout

Acceptance criteria

  • Test runs from a clean temporary directory.
  • Test uses the installed CLI entry point or python -m chumdump.
  • Test verifies one accessed bite is recorded.
  • Test verifies the actor/crawler is identified as GPTBot.
  • Test verifies the report includes Bite Type Summary and accessed: 1.
  • Test is included in CI.

Notes

The GPTBot/1.0 user agent should remain a local fixture. The test should not depend on network access or any real crawler activity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions