Add integration tests for actor templates · Issue #1093 · apify/crawlee-python · GitHub
Skip to content

Add integration tests for actor templates #1093

Closed

Description

@Pijukatel

Motivation:
Currently templates created through cli are not tested. The only test is that cli generating the templates is working, but the content of the templates is not tested. This situation leads to templates being broken from time to time and detection of such situation is rather random.

Proposed solution
Create an apify-platform integration test for each template. Templates can run in different environments, but our apify-platform is the typical environment and is predictable and specific.
(This will mean adding dev dependency to apify-sahred for the sake of tests).

Each integration test should contain:

  1. Creation of template through cli
  2. running apify-init in template space
  3. deploying to apify platform
  4. running the actor
  5. collecting the results and compare to expectations

Activity

  1. added
    debtCode quality improvement or decrease of technical debt.
    t-toolingIssues with this label are in the ownership of the tooling team.
    on Mar 17, 2025
  2. self-assigned this
    on Mar 17, 2025
  3. added a commit that references this issue on Apr 3, 2025
    ab5234b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

debtCode quality improvement or decrease of technical debt.t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions