You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 rivejä
449 B

  1. // Package e2e contains end-to-end tests that require external services (Kafka, MQTT, DB).
  2. // Run with: go test -v ./tests/e2e/...
  3. // These tests are skipped by default unless E2E_TEST=1 is set.
  4. package e2e
  5. import (
  6. "os"
  7. "testing"
  8. )
  9. func TestE2E_SkipByDefault(t *testing.T) {
  10. if os.Getenv("E2E_TEST") != "1" {
  11. t.Skip("Skipping e2e tests (set E2E_TEST=1 to run)")
  12. }
  13. t.Log("E2E tests would run with Kafka, MQTT, and PostgreSQL available")
  14. }