Open-EO / Open-EO/openeo-python-client

reusable test fixtures

Open
#863 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request nice-to-have technical debt
Dominant language
Python
Stars
217
Forks
56
Avg merge
1d 22h
Merged PRs (30d)
2

Description

while working on STAC migration I noticed that there is quite some duplication of fixtures (e.g. for openeo connection, auto base title, auto base name, ..) across multiple test suites:

  • Terrascope integration tests
  • CDSE integration test
  • public APEx benchmark tests
  • internal APEx benchmarks

An in each case there are some minor details different, which makes it hard to switch between these test suites

feature request:
Add submodule with reusable pytest fixtures (or helpers to compactly create such fixtures)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the duplicated fixtures across the Terrascope integration tests, CDSE integration test, public APEx benchmark tests, and internal APEx benchmarks. Identify the shared setup and the suite-specific details, then define a reusable pytest-fixture submodule or helper set. Done means the suites can reuse the common fixtures while retaining their necessary differences.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.