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 isNumber predicate #2570

Merged
merged 1 commit into from
Mar 28, 2024
Merged

Conversation

guerinoni
Copy link

Partially closes #2538.

@fabricereix
Copy link
Collaborator

To pass the coverage check, you add the new predicate in the file integration/hurlfmt/tests_export/predicate.hurl

@guerinoni guerinoni force-pushed the isNumber branch 4 times, most recently from 25a845e to 760ae5c Compare March 22, 2024 13:42
@jcamiel
Copy link
Collaborator

jcamiel commented Mar 22, 2024

Hi @guerinoni

You need to signed your commit, to appease the CI (see https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits). You should have something like this:

commit

@guerinoni
Copy link
Author

@jcamiel thanks now should be fine with my GPG

@guerinoni
Copy link
Author

@fabricereix actually i don't understand why some testing is failing with changes not related to those tests
Help on my error test are appreciated

@fabricereix
Copy link
Collaborator

@guerinoni, you probably need to run the test locally to understand what is going on.

@guerinoni
Copy link
Author

@guerinoni, you probably need to run the test locally to understand what is going on.

Right now i managed to run bin/coverage.sh, but the documentation says to run integration tests using python3 integration.py and those are giving different expected result as output

@fabricereix
Copy link
Collaborator

The failing test is test_ok/help.sh
image

You simply need to run this script to run this test.

@fabricereix
Copy link
Collaborator

You have modified the expected file help.out.pattern

@fabricereix
Copy link
Collaborator

You have also modified tests_failed/assert_base64.hurl.
ONLY files related to this new predicate should be modified

integration/hurl/tests_failed/assert_base64.err Outdated Show resolved Hide resolved
integration/hurl/tests_failed/assert_base64.hurl Outdated Show resolved Hide resolved
integration/hurl/tests_ok/help.out.pattern Outdated Show resolved Hide resolved
@jcamiel
Copy link
Collaborator

jcamiel commented Mar 28, 2024

Hi @guerinoni you should do the following changes in your PR:

  • do not modify integration/hurl/test_failed/assert_base64.err
  • do not modify integration/hurl/test_ok/help.out.pattern
  • do not modify integration/hurlfmt/tests_ok/help.out.pattern

If you want, I can make these changes and your branch and see if all is correct after,

@guerinoni
Copy link
Author

Hi @guerinoni you should do the following changes in your PR:

  • do not modify integration/hurl/test_failed/assert_base64.err
  • do not modify integration/hurl/test_ok/help.out.pattern
  • do not modify integration/hurlfmt/tests_ok/help.out.pattern

If you want, I can make these changes and your branch and see if all is correct after,

Yes feel free to push

@jcamiel
Copy link
Collaborator

jcamiel commented Mar 28, 2024

/accept

@hurl-bot
Copy link
Collaborator

🕗 /accept is running, please wait for completion.

@hurl-bot
Copy link
Collaborator

✅ Pull request merged and closed by jcamiel with fast forward merge..

# List of commits merged from guerinoni/hurl/isNumber branch into Orange-OpenSource/hurl/master branch:

@hurl-bot hurl-bot merged commit bc13035 into Orange-OpenSource:master Mar 28, 2024
21 checks passed
@jcamiel
Copy link
Collaborator

jcamiel commented Mar 28, 2024

Hi @guerinoni I've rebased and force pushed with tiny changes, everything is OK now. For the PR!

@guerinoni guerinoni deleted the isNumber branch March 28, 2024 11:03
@jcamiel jcamiel changed the title Add isNumber predite Add isNumber predicate Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add isNumber Predicate
4 participants