testdriver:aws-setup

Deploy AWS infrastructure with CloudFormation templates for TestDriver test runners.

238|34|Updated Aug 25, 2024
One-click install
npx skills add https://github.com/testdriverai/testdriverai --skill testdriver-aws-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testdriver:aws-setup
Source: https://github.com/testdriverai/testdriverai/tree/main/ai/skills/testdriver%3Aaws-setup
Command: npx skills add https://github.com/testdriverai/testdriverai --skill testdriver-aws-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deploying TestDriver infrastructure on AWS can be complex and error-prone; this skill provides a repeatable CloudFormation-based workflow to provision VPCs, IAM roles, launch templates, and EC2 instances for self-hosted test execution.

Core Features & Use Cases

  • CloudFormation-based infrastructure provisioning for consistent, repeatable setups.
  • Integration guidance to configure Vitest for self-hosted test runners.
  • Use Case: teams run end-to-end tests on ephemeral AWS instances automatically as part of CI pipelines.

Quick Start

Execute the deployment and configuration steps to spin up reusable AWS-based TestDriver infrastructure and run tests.

Frequently Asked Questions about testdriver:aws-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy TestDriver on AWS using CloudFormation for self-hosted test runners?

To deploy TestDriver on AWS, use this CloudFormation-based workflow to provision VPCs, IAM roles, launch templates, and EC2 instances for self-hosted test execution. It provides a repeatable process to spin up the necessary infrastructure automatically.

Can I run Vitest tests on ephemeral EC2 instances automatically?

Yes, you can run Vitest tests on ephemeral EC2 instances by configuring Vitest hooks within your project. The CloudFormation deployment initializes a scalable test runner fleet to execute these tests automatically as part of CI pipelines.

What AWS permissions and prerequisites are needed to set up this test runner infrastructure?

You need an AWS account with CloudFormation permissions, access to a TestDriver AMI or template, and a Vitest configuration in your project. These prerequisites allow the skill to provision the required VPCs and IAM roles.

Does this CloudFormation approach support integrating self-hosted test execution into CI pipelines?

Yes, this CloudFormation approach supports CI pipeline integration. Teams can use the provisioned infrastructure to run end-to-end tests on ephemeral AWS instances automatically, ensuring consistent and repeatable test environments.

What is the best way to provision VPCs and IAM roles for an AWS-based test runner fleet?

The best way to provision VPCs and IAM roles for a test runner fleet is using CloudFormation templates. This method ensures consistent, repeatable setups by defining your AWS infrastructure as code to launch reusable EC2 instances.