Skip to content

Conversation

@nightowlnerd
Copy link
Owner

Summary

  • Add unit tests for scanner.go (isPrivateIP, BurstResult, Progress)
  • Add CLI integration tests (flags, output, error handling)
  • Add e2e tests with mock DNS server (hijacking detection, burst testing, worker pool)
  • Refactor: make DNS port configurable to enable mock server testing

Test Coverage

  • 38 tests total
  • All run locally without network dependencies
  • E2E uses mock DNS on localhost

@nightowlnerd nightowlnerd merged commit c9818bb into main Jan 31, 2026
2 checks passed
@nightowlnerd nightowlnerd deleted the test/add-scanner-tests branch January 31, 2026 07:40
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.

1 participant