Skip to content

Add integration tests for GCP Sheets service with Google API mocking #22

@nicococo

Description

@nicococo

Type: Task (extend integration tests)
Goal: Add integration tests for mlox/services/gcp/sheet_service.py, focusing on mocking Google Cloud endpoints/services.
Framework: Tests are run with pytest; the best mocking approach is open (suggest evaluating pytest-mock, unittest.mock, or pytest-localserver for HTTP/service emulation).
Scenario: Provide a basic read/write test case as an initial scenario, placed in the tests/integration package, following the style of other service integration tests.
Notes: No need to address CI or test runner setup for now. Focus on the test and mocking strategy.

Requested Details:

  • Provide a basic example of read/write test and assess mocking capabilities and challenges.
  • Choose an appropriate mocking approach for the Google Sheets API.

Please update if more info is needed or a specific mocking library is preferred.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:enhancementImprovements to existing features

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions