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

Add check for generated curl command in integ test #2257

Open
fabricereix opened this issue Dec 16, 2023 · 2 comments
Open

Add check for generated curl command in integ test #2257

fabricereix opened this issue Dec 16, 2023 · 2 comments
Labels

Comments

@fabricereix
Copy link
Collaborator

fabricereix commented Dec 16, 2023

In verbose mode, Hurl writes to stderr the curl commands to be executed to produce the same requests.

Requirements in order to apply the check for the generated curl commands:

  • test run in verbose mode
  • existence of an expected .curl file
@fabricereix fabricereix added the ci label Dec 16, 2023
@jcamiel
Copy link
Collaborator

jcamiel commented Nov 5, 2024

See #2679

@jcamiel
Copy link
Collaborator

jcamiel commented Nov 7, 2024

@fabricereix --curl is available now, I've added two integrations tests tests_ok/assert_body_curl.sh and tests_ok/multilines_curl.sh. Don't know yet if we use the current integration tests or if we do dedicated tests with tests_curl/*. I like this simple first step, it fits in our current integration tests model, we can reuse existing Flask endpoints, we can add curl integration tests to tests_failed/*etc... To discuss !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants