EU-Utility/plugins/integration_tests/integration_discord/README.md

1.4 KiB

Discord Webhook Integration Tests

This plugin tests Discord webhook integration for EU-Utility.

Test Coverage

1. Connection Tests

  • Webhook URL validation
  • Connection establishment
  • Authentication verification

2. Payload Tests

  • Simple text messages
  • Rich embeds with fields
  • Global/HOF announcements
  • Skill gain notifications
  • Error alerts

3. Error Handling

  • Invalid payload handling
  • Network timeout scenarios
  • Rate limit detection
  • Retry mechanisms

Usage

  1. Configure your Discord webhook URL in the "Webhook URL" tab
  2. Run individual tests or all tests from the "Test Cases" tab
  3. View detailed results in the "Results" tab
  4. Build custom payloads in the "Payload Builder" tab

Expected Results

Test Expected Description
Simple Message 204 Basic text delivery
Embed Message 204 Rich formatting
Global Announcement 204 Special formatting
Skill Gain 204 Compact notification
Error Alert 204 Error styling
Invalid Payload 400 Error handling

Compatibility Matrix

Platform Status Notes
Windows 10/11 Full All features supported
Linux Full All features supported
macOS Full All features supported

API Dependencies

  • requests - HTTP client library
  • Discord Webhook API v10