Back to news

Internal automation or external API: how to choose without duplicating tests

When to use Treseko workers and when to keep your current pipeline and report results via API.

Two paths that solve different problems

With internal automation, Treseko creates a job and an approved worker executes it. It is a good choice when the team wants to centralize scripts, variables, datasets, evidence and execution from the same console.

With external API, the existing pipeline keeps running Playwright, Selenium, Cypress, Pytest or another tool; then it reports the result. This alternative avoids an artificial migration when the current flow already works well.

Integration must preserve context

Regardless of who executes, the result must be linked to the correct solution, project, component, build and case. That relationship is what allows comparing results and reporting risk for a specific delivery.

Use stable codes for the objects consumed by the integration and preserve the external run identifier. That way a retry can be idempotent and the history doesn't fill up with duplicate executions.