Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Allow passing uri directly to Spookie #111

Merged
merged 2 commits into from
Feb 2, 2024

Conversation

codekeyz
Copy link
Owner

@codekeyz codekeyz commented Feb 1, 2024

Description

Resolves: #110

We should be able to pass a URI directly to Spookie.

    await Spookie.uri(Uri(scheme: 'http', host: 'localhost', port: 5000))
            .post('/hello', {})
            .expectBody('Active Server')
            .expectStatus(200)
            .test();

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

@codekeyz codekeyz added the enhancement New feature or request label Feb 1, 2024
@codekeyz codekeyz self-assigned this Feb 1, 2024
@codekeyz codekeyz mentioned this pull request Feb 1, 2024
1 task
@codekeyz codekeyz force-pushed the feat/allow-passing-uri-to-spookie branch from b6bfcd0 to a5cde5e Compare February 2, 2024 00:00
@codekeyz codekeyz merged commit 2071f9b into main Feb 2, 2024
2 checks passed
@codekeyz codekeyz deleted the feat/allow-passing-uri-to-spookie branch February 2, 2024 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: Be able to test whole URIs
1 participant