Menu icon
RedCrackle
Menu icon
Services
01Design Transformation
About UsCase StudiesBlogContact Us

<

Blog post

How to Install Red Test

Neerav Mehta

Founder & CEO

In previous article, we explained why integration tests will greatly benefit your Drupal automated testing efforts and also announced that we are making Red Test, an integration testing framework for Drupal, open-source. In this article, you'll learn how to install Red Test to get started with your integration tests for Drupal. Here are the steps:

  1. Go to your Drupal root and clone the github repository.

git clone https://github.com/redcrackle/tests.git
  1. This will create a folder named "tests" in your Drupal root. Change directory into that folder.

cd tests
  1. Install the required software libraries using composer.

php composer.phar install

This command will install RedTest library along with PHPUnit, ParaTest and others.

  1. Remove .git folder so that the cloned repo can be committed to your main Drupal application repo.

rm -rf .git
  1. The "tests" git repo you cloned already has pre-defined tests that you can run. To run them, change into Drupal root folder and execute the ParaTest command. Make sure to change the --processes argument to 1.5 times the number of processor cores that you system has. The tests will most likely fail since they are for Drupal's standard installation profile and that's fine. You are just one step away from creating your own first test!

cd ..
tests/bin/paratest --phpunit=tests/bin/phpunit --processes=4 --no-test-tokens --log-junit="tests/output.xml" --configuration=tests/phpunit.xml
Neerav Mehta

Neerav Mehta

Founder & CEO

Neerav Mehta is the Founder & CEO of Red Crackle. With sterling qualities, Neerav’s technological acumen is firing a generation of progressive companies on the digital path. With an undergraduate degree in Electrical Engineering from India's most prestigious institution IIT Bombay and having spent seven years developing and contributing to the launch of AMD's innovative line of computer products, Neerav founded Red Crackle where he is lauded for his dynamic and innovative genius.

View all posts

>

Read Next

10 Ways To Increase Productivity At Work

10 Ways To Increase Productivity At Work

Learn more

11 Project Management Tips For New Managers

11 Project Management Tips For New Managers

Learn more

30 best WordPress widgets for your site

30 best WordPress widgets for your site

Learn more

Let’s get you started!

Contact Us

>

RedCrackle

Explore

About Us

Services

Contact Us

Our address

5346 Gerine Blossom Dr,

San Jose, CA 95123

USA

Socials

Twitter
LinkedIn

© 2026 RedCrackle. All rights reserved.