TAS is an intelligent test execution platform for engineering teams to achieve high development velocity.
Test Smarter, Release Faster with test-at-scale.
TAS helps you accelerate your testing, shorten job times and get faster feedback on code changes, manage flaky tests and keep master green at all times.
To learn more about TAS features and capabilities, see our product page.
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.
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.
Before installation we need to create a file that will be used for configuring test-at-scale.
Terminal
of your choice.mkdir ~/test-at-scale
cd ~/test-at-scale
curl https://raw.githubusercontent.com/LambdaTest/test-at-scale/main/.sample.synapse.json -o .synapse.json
.synapse.json
configuration file in any editor of your choice such as vi
, nano
, code
, etc.NOTE:
.synapse.json
file is hidden by default. You can list it usingls -la
command.
Run the docker application.
docker info --format "CPU: {{.NCPU}}, RAM: {{.MemTotal}}"
Execute the above command to ensure that resources usable by Docker are atleast CPU: 2, RAM: 4294967296
.
NOTE: In order to run test-at-scale you require a minimum configuration of 2 CPU cores and 4 GiBs of RAM.
The .synapse.json
configuration file made in Step 2 will be required before executing the next command.
Download and run the docker compose file using the following command.
cd ~/test-at-scale
curl -L https://raw.githubusercontent.com/LambdaTest/test-at-scale/main/docker-compose.yml -o docker-compose.yml
docker-compose up -d
NOTE: This docker-compose file will pull the latest version of test-at-scale and install on your self hosted environment.
To get up and running quickly, you can use the following instructions to setup Test at Scale on Self hosted environment without docker-compose.
.synapse.json
configuration file made in Step 2 will be required before executing the next command.cd ~/test-at-scale
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 ${PWD}/.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.
test-at-scale
self hosted environment is connected and ready.Proceed
to move forward to Step 4
NOTE: Currently we support Mocha, Jest and Jasmine for testing Javascript codebases.
Click the Import button for the JS
repository you want to integrate with TAS.
Once Imported successfully, click on Go to Project
to proceed further.
You will be asked to setup a post-merge
here. We recommend to proceed ahead with default settings. (You can change these later.)
A .tas.yml
file is a basic yaml configuration file that contains steps required for installing necessary dependencies and executing the tests present in your repository.
In order to configure your imported repository, follow the steps given on the .tas.yml
configuration page.
You can also know more about .tas.yml
configuration parameters here.
Placing the .tas.yml
configuration file.
Currently we support Mocha, Jest and Jasmine for testing Javascript codebases.
We love our contributors! If you'd like to contribute anything from a bug fix to a feature update, start here:
Engage with Developers, SDETs, and Testers around the world.
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.
TestAtScale is available under the Apache License 2.0. Use it wisely.