For the complete documentation index, see llms.txt. This page is also available as Markdown.

Cloud Execution

Cloud execution allows you to run test cases and test suites on remote infrastructure instead of your local machine. WalnutAI connects to the configured compute environment, provisions the required resources, and executes the tests remotely.

Before running tests in the cloud, configure a virtual machine from the Admin settings.

Steps to configure a virtual machine

  1. Navigate to Admin settings.

  1. Select Compute configuration.

  1. Click Add Machine.

  1. Choose the compute type. WalnutAI supports the following compute providers:

  • VM (SSH + Docker)

  • Kubernetes (K8s Jobs)

  • LambdaTest (Mobile Cloud)

  1. Enter the required connection details.

  2. Compute configuration: Provide a name for the machine that will be displayed while selecting the execution environment.

Field
Description
Example

Name

Name of the compute machine

Production Server

Type

Compute provider

VM

  1. Configure the SSH connection: Enter the SSH credentials required to connect to the virtual machine.

Field
Description

Host / IP

Public or private IP address of the machine

Port

SSH port number

Username

SSH username

Auth type

Authentication method

Password

SSH password

Example:

  1. Configure agent settings: Agent settings control how WalnutAI provisions and executes tests on the machine.

  2. Workspace directory: The workspace directory defines the location where repositories are cloned during execution.

  1. Max concurrent agents: Specifies the maximum number of WalnutAI agents that can run simultaneously on the machine.

  1. Idle timeout: Defines the duration, in minutes, after which inactive sessions are terminated automatically.

  1. Max concurrent test cases: This setting enables cloud execution for the machine.

  • Set the value above 0 to enable the VM as a cloud runner.

  • WalnutAI automatically detects the machine capacity during provisioning.

  • The recommended concurrency limit is populated automatically.

  • You can modify the value up to the detected limit.

  • Setting the value to 0 disables cloud execution.

  1. Configure project access:

  • Configure project access settings to control which projects can use a particular machine.

  • Enable All Projects to make the machine available across all projects, or select specific projects to restrict access. If no projects are selected, WalnutAI automatically grants access to all projects by default.

Set a default machine

Enable Set as default machine to automatically use the configured VM during cloud execution.

Execute test cases in the cloud

After the virtual machine has been configured, you can execute test cases in the cloud.

  1. Open the required project.

  2. Navigate to the test case or test suite.

  3. Click Execute.

  4. Select Cloud execution.

  1. Choose the configured virtual machine.

  1. Start the execution.

WalnutAI provisions the selected machine and executes the test remotely.

Last updated