{"id":21683735,"url":"https://github.com/open-eo/openeo-geopyspark-integrationtests","last_synced_at":"2025-04-12T07:50:52.145Z","repository":{"id":38486925,"uuid":"127396054","full_name":"Open-EO/openeo-geopyspark-integrationtests","owner":"Open-EO","description":"Integrationtests for GeoPyspark backend","archived":false,"fork":false,"pushed_at":"2025-04-10T12:37:36.000Z","size":10530,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-10T13:55:30.157Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Open-EO.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-30T07:23:18.000Z","updated_at":"2025-04-10T12:37:40.000Z","dependencies_parsed_at":"2023-09-22T15:44:13.200Z","dependency_job_id":"87041fb2-df7c-466f-b012-eed1340c154b","html_url":"https://github.com/Open-EO/openeo-geopyspark-integrationtests","commit_stats":{"total_commits":609,"total_committers":10,"mean_commits":60.9,"dds":0.6403940886699507,"last_synced_commit":"6e45187112dea6f60306772269dd836a4de6d34a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Open-EO%2Fopeneo-geopyspark-integrationtests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Open-EO%2Fopeneo-geopyspark-integrationtests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Open-EO%2Fopeneo-geopyspark-integrationtests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Open-EO%2Fopeneo-geopyspark-integrationtests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Open-EO","download_url":"https://codeload.github.com/Open-EO/openeo-geopyspark-integrationtests/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248537003,"owners_count":21120688,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T16:13:17.816Z","updated_at":"2025-04-12T07:50:52.125Z","avatar_url":"https://github.com/Open-EO.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# openeo-geopyspark-integrationtests\n\nIntegration test suite that uses the openeo-python-client\nto test various use cases against an OpenEO backend.\n\n## Installation\n\nTODO\n\n## Usage\n\nTo run the test suite against a certain OpenEO backend:\nspecify the backend base URL in environment variable `ENDPOINT`\nand run the tests.\nFor example:\n\n    export ENDPOINT=http://localhost:8080/\n    pytest\n\n### Authentication\n\nMost tests in the test suite require an authenticated connection to the back-end.\nThe test suite setup/fixtures tries to do the right thing automatically:\n- In an automated/Jenkins/CI context: use OIDC client credentials auth with a \"service account\".\n  Credentials should be provided through environment variables:\n  look for `OPENEO_JENKINS_SERVICE_ACCOUNT_` in `conftest.py` for inspiration\n- Running locally as developer: using refresh tokens is supported.\n  Make sure you have valid refresh tokens in you environment.\n  If not, the device code flow will be used as fallback,\n  but with an extremely short poll timeout by default,\n  making it humanly impossible to actually complete the device code flow.\n  The timeout is short by default to avoid the confusion\n  with tests hanging inexplicably for minutes before failing.\n  Temporarily increase the timeout with env var\n  `OPENEO_OIDC_DEVICE_CODE_MAX_POLL_TIME=300`.\n\n### Filtering\n\nPytest provides [various options](https://docs.pytest.org/en/latest/usage.html#specifying-tests-selecting-tests)\nto run a subset or just a single test.\nSome examples (that can be combined):\n\n-   select by substring of the name of a test with the `-k` option:\n\n        pytest -k test_health\n\n-   run tests that do not involve batch jobs (which are decorated with `@pytest.mark.batchjob`)\n\n        pytest -m \"not batchjob\"\n\n### Debugging and troubleshooting tips\n\n- The `tmp_path` fixture provides a [fresh temporary folder for a test to work in](https://docs.pytest.org/en/latest/tmpdir.html).\nIt is cleaned up automatically, except for the last 3 runs, so you can inspect\ngenerated files post-mortem. The temp folders are typically situated under `/tmp/pytest-of-$USERNAME`.\n\n- To disable pytest's default log/output capturing, to better see what is going on in \"real time\", add these options:\n\n        --capture=no --log-cli-level=INFO\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-eo%2Fopeneo-geopyspark-integrationtests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopen-eo%2Fopeneo-geopyspark-integrationtests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-eo%2Fopeneo-geopyspark-integrationtests/lists"}