Skip to content

redcrackle/tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tests

This is the code that you can clone in your Drupal root folder to get started with RedTest in a matter of minutes. It comes with a sample test for the Article content type which is installed by default when you use Drupal's "standard" profile.

INSTALLATION

Go to your Drupal root folder and execute the following:


git clone https://github.com/redcrackle/tests.git
cd tests
php composer.phar install

We want to commit "tests" folder inside the project git and not as a separate git sub-module so remove .git folder from inside "tests" folder.


rm -rf .git

RUNNING TESTS

Go to Drupal root folder and execute the following:


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

In above command, you can update the --processes argument to 1.5 times the number of cores present in your system.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages