/test-at-scale

TAS is an intelligent test execution platform for engineering teams to achieve high development velocity.

Primary LanguageGoApache License 2.0Apache-2.0

Test At Scale

N|Solid

Test Smarter, Release Faster with test-at-scale.

Table of contents

Getting Started

Step 1 - Setting up a New Account

In order to create an account, visit TAS Login Page. (Or TAS Home Page)

  • Login using a suitable git provider and select your organization you want to continue with.
  • Tell us your specialization, team size. N|Solid
  • Select TAS Self Hosted and click on Proceed.
  • You will find your LambdaTest Secret Key on this page which will be required in the next steps. N|Solid

Step 2 - Creating a configuration file for self hosted setup

Before installation we need to create a file that will be used for configuring test-at-scale.

  • Open a Terminal of your choice.
  • Move to your desired directory or you can create a new directory and move to it using the following command.
mkdir ~/test-at-scale
cd ~/test-at-scale
  • Download our sample configuration file using the following command.
curl https://raw.githubusercontent.com/LambdaTest/test-at-scale/master/.sample.synapse.json -o .synapse.json
  • This file will be used to store certain parameters such as LambdaTest Secret Key, Git Token, Repository Secrets, Container Registry etc that will be required in configuring test-at-scale on your local/self-hosted environment. You can learn more about the configuration options here.

Step 3 - Installation

Docker

Prerequisites

Docker Compose

  • Create a configuration file using these steps.
  • Download and run the docker compose file using the following command.
curl -L https://raw.githubusercontent.com/LambdaTest/test-at-scale/master/docker-compose.yml -o docker-compose.yml
docker-compose up -d

NOTE: This docker-compose file will pull the latest version of synapse.

Without Docker Compose

To get up and running quickly, you can use the following instructions to setup Test at Scale on Self hosted environment without docker-compose.

  • Create a configuration file using these steps.
  • Execute the following command to run Test at Scale docker container
docker network create --internal test-at-scale
docker run β€”name synapse β€”-restart always \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v /tmp/synapse:/tmp/synapse \
    -v .synapse.json:/home/synapse/.synapse.json \
    -v /etc/machine-id:/etc/machine-id \
    --network=test-at-scale \
    lambdatest/synapse:latest

WARNING: We strongly recommend to use docker-compose while Test at Scale on Self hosted environment.


Supported Platforms:

Local Machine

Setup using docker.

Azure

Setup on Azure

AWS

Setup on AWS

GCP

Setup on GCP

Step 4 - Importing your repo

  • Click the Import button for the repository you want to integrate with TAS.
  • Once Imported Successfully, Click on Go to Project to proceed further. N|Solid

Step 5 - Configuring TAS yml

  • In order to configure your imported repository follow the steps given on the yml configuration page. Know more about yml configuration parameters here. N|Solid

Language & Framework Support

Currently we support Mocha, Jest and Jasmine for testing Javascript codebases.

Tutorials

Contribute

We love our contributors! If you'd like to contribute anything from a bug fix to a feature update, start here:

Join our community

Engage with Developers, SDETs, and Testers around the world. Get the latest product updates. Discuss testing philosophies and more. Join the Test-at-scale Community on Discord.

Support & Troubleshooting

The documentation and community will help you troubleshoot most issues. If you have encountered a bug, you can contact us using one of the following channels:

We are committed to fostering an open and welcoming environment in the community. Please see the Code of Conduct.

License

TestAtScale is available under the Apache License 2.0. Use it wisely.