Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

openeo-geopyspark-integrationtests

Integration test suite that uses the openeo-python-client to test various use cases against an OpenEO backend.

Installation

TODO

Usage

To run the test suite against a certain OpenEO backend: specify the backend base URL in environment variable ENDPOINT and run the tests. For example:

export ENDPOINT=http://localhost:8080/
pytest

Pytest provides various options to run a subset or just a single test. Some examples (that can be combined):

  • select by substring of the name of a test with the -k option:

    pytest -k test_health
    
  • run tests that do not involve batch jobs (which are decorated with @pytest.mark.batchjob)

    pytest -m "not batchjob"
    

Debugging and troubleshooting tips

  • The tmp_path fixture provides a fresh temporary folder for a test to work in. It is cleaned up automatically, except for the last 3 runs, so you can inspect generated files post-mortem. The temp folders are typically situated under /tmp/pytest-of-$USERNAME.

  • To disable pytest's default log/output capturing, to better see what is going on in "real time", add these options:

      --capture=no --log-cli-level=INFO
    

About

Integrationtests for GeoPyspark backend

Resources

License

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
You can’t perform that action at this time.