Skip to content

Add integration tests for actor templates #1093

@Pijukatel

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

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