8000 Support running API tests with certain server configuration · Issue #1009 · shlinkio/shlink · GitHub
[go: up one dir, main page]

Skip to content

Support running API tests with certain server configuration #1009

Open

Description

@acelaya

API tests depend on the global app config to pass, which means it's also not possible to test different config combinations.

Add this, so that a test can load some new config, restart the server, and run the tests against that config.

Scenarios to test:

  • Error returned by /mercure-info endpoint when mercure is not configured
  • "Not found" redirects, both global and domain-specific
  • Redis integration (single instance, cluster and sentinels)
  • Short URL deletion when visits threshold is reached
  • Support for multi-segment slugs
  • Support for trailing slashes in short URLs
  • Short URLs with and without trailing slash, combined with multi-segment slugs
  • Multiple status codes for short URLs
  • strict and loose mode
  • Redirect extra path mode (append, ignore)
  • CORS options (allow origin, max age and allow credentials)
  • Visitor IP resolution with TRUSTED_PROXIES.
  • ...

Activity

  1. added this to the 2.8.0 milestone on Mar 10, 2021
  2. removed this from the 2.8.0 milestone on Jul 13, 2021
  3. added this to the 2.9.0 milestone on Aug 4, 2021
  4. removed this from the 2.9.0 milestone on Aug 13, 2021
  5. added this to the 3.1.0 milestone on Jan 18, 2022
  6. changed the title [-]Add support to run API tests with certain server configuration[/-] [+]Support running API tests with certain server configuration[/+] on Mar 18, 2022
  7. modified the milestones: 3.1.0, 3.2.0 on Apr 23, 2022
  8. moved this to Todo in Shlinkon Aug 1, 2022
  9. modified the milestones: 3.2.0, 3.3.0 on Aug 4, 2022
  10. added this to Shlink and removed this from Shlinkon Aug 4, 2022
  11. 32 remaining items

  12. moved this from Todo to No status in Shlinkon Dec 22, 2024
  13. moved this to Todo in Shlinkon Jul 18, 2025
  14. moved this from Todo to In Progress in Shlinkon Jul 23, 2025
  15. modified the milestones: 4.5.0, on Jul 24, 2025
  16. modified the milestones: , 5.0.0 on Nov 1, 2025
  17. moved this from In Progress to No status in Shlinkon Nov 1, 2025
  18. moved this to Todo in Shlinkon Nov 8, 2025
  19. modified the milestones: 5.0.0, 5.1.0 on Jan 9, 2026
  20. moved this from Todo to No status in Shlinkon Jan 9, 2026
  21. moved this to Todo in Shlinkon Mar 18, 2026
  22. modified the milestones: 5.1.0, 5.2.0 on Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status
      Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0