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

#820: create simple regression test suite #823

Merged
merged 34 commits into from
Sep 13, 2024

Conversation

mmerdes
Copy link
Collaborator

@mmerdes mmerdes commented Sep 10, 2024

Description

This PR adds a regression test suite based on hurl.

Corresponding issue

Closes #820

New or changed dependencies

  • In order to run the tests, the hurl CLI tool must be installed.
  • no new Python dependencies

Checklist

  • I have updated my branch to main (e.g. through git rebase main)
  • My code follows the style guide and was checked with pre-commit before committing
  • I have commented my code
  • [ ] I have added sufficient unit and integration tests
  • I have updated the CHANGELOG.md

Please check all finished tasks. If some tasks do not apply to your PR, please cross their text out (by using ~...~) and remove their checkboxes.

@mmerdes mmerdes added the tests Issues with tests label Sep 10, 2024
@mmerdes mmerdes linked an issue Sep 10, 2024 that may be closed by this pull request
Copy link
Member

@joker234 joker234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the PR!

some remarks:

  • env variables should always be upper case: https://bertvv.github.io/cheat-sheets/Bash.html#variables
  • I suggest to change the directory to the directory the tests are, otherwise you delete the folders somewhere else or the scripts are not executing properly
  • I suggested a OS detection for the report opening in the end
  • always state which shell should execute the script to avoid shell specific errors on systems with different default shells

docs/development_setup.md Outdated Show resolved Hide resolved
regression-tests/long-running/roads_bbox_currentness.hurl Outdated Show resolved Hide resolved
regression-tests/buildingcount_bbox_currentness.hurl Outdated Show resolved Hide resolved
regression-tests/__run_hurl_tests_for_stage.sh Outdated Show resolved Hide resolved
regression-tests/__run_hurl_tests_for_stage.sh Outdated Show resolved Hide resolved
regression-tests/run_hurl_tests_DEV.sh Show resolved Hide resolved
regression-tests/run_hurl_tests_PROD.sh Show resolved Hide resolved
regression-tests/run_hurl_tests_TEST.sh Show resolved Hide resolved
@mmerdes mmerdes self-assigned this Sep 11, 2024
mmerdes and others added 2 commits September 11, 2024 15:03
Co-authored-by: Johannes Visintini <[email protected]>
Co-authored-by: Johannes Visintini <[email protected]>
mmerdes and others added 8 commits September 11, 2024 15:06
Co-authored-by: Johannes Visintini <[email protected]>
Co-authored-by: Johannes Visintini <[email protected]>
Co-authored-by: Johannes Visintini <[email protected]>
Co-authored-by: Johannes Visintini <[email protected]>
Co-authored-by: Johannes Visintini <[email protected]>
Co-authored-by: Johannes Visintini <[email protected]>
Co-authored-by: Johannes Visintini <[email protected]>
@mmerdes
Copy link
Collaborator Author

mmerdes commented Sep 11, 2024

@joker234
Thanks for the review comments - good to have a scripting expert around ;)

@mmerdes mmerdes merged commit 5b6135a into main Sep 13, 2024
2 checks passed
@mmerdes mmerdes deleted the 820-create-simple-regression-test-suite branch September 13, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Issues with tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create simple regression test suite
2 participants