Skip to content

PORT-010 Add Foundational Test Suite #16

Description

@abdallah-9a

Problem

Portmap currently has no automated tests.

As the project becomes public, future changes may unintentionally break core functionality such as project detection, process classification, or kill safety.

Without automated tests, contributors cannot confidently modify the codebase.


Goal

Protect the most critical behavior of Portmap with a lightweight automated test suite.


Requirements

  • Configure pytest.
  • Add GitHub Actions to run tests automatically.
  • Test Git repository detection.
  • Test framework detection.
  • Test process classification.
  • Test kill endpoint safety logic.
  • Keep the test suite simple and easy to maintain.

Acceptance Criteria

  • Tests run successfully in GitHub Actions.
  • Critical scraper logic is covered.
  • Kill safety behavior is verified.
  • Contributors can validate changes before submitting pull requests.

Priority

P1

Activity

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

Metadata

Metadata

Assignees

Labels

p1Should ship

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions