Skip to content

Testing ​

What you can test today ​

LevelHow
Screens and formsPreview in each designer at phone, tablet and desktop widths, with locale preview
StructureValidate and the Problems tabs
WorkflowsSimulate with sample data (in memory, nothing saved)
APIs, pages, workflows, manual scriptsTest cases (Studio, Test cases): steps with an action, parameters and expected result, against an api, page, workflow or manual target
Java and Node codeBuild, Run Java tests, Node: run tests, output in the Output panel
A whole pluginthe Publish pipeline runs check, compile, tests, package, install

Test cases

Step by step: a test case ​

  1. Test cases, New loan-overdue-api. Target type api, target equipment-loan-provider.
  2. Step 1: action search, parameter status=on_loan, expected 200 and at least one row.
  3. Save, run, and read the result.

Environments ​

Use separate tenants as development, test, staging and production, and move plugins with export and import, or Environment promotion. Install the same package version in each.

Planned (placeholders) ​

Automated UI and responsive test recording, scheduled test runs, test data sets and fixtures, security and compatibility test suites in the pipeline. Planned.

Common mistakes ​

Testing only in production; not simulating workflows before publish; tests that depend on data another test deletes.

Versioning, Deployment.