Skip to content

nganivet/civicrm-webtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CiviCRM Web Tests

This repository contains Web Tests for CiviCRM.

Setup

  • Clone the civicrm-webtests repository.
  • Create a CiviCRM testing instance.
    • This testing repository is intended for use with real data, but some tests will need to be altered for variations in the data set.
  • Install Codeception
  • Codeception tests can be run with a local browser (Chrome or Firefox) or headless.
  • Copy the local.tpl.yml template file to local.yml and complete with your testing environment settings. Note that some tests require a database connection.
  • Run all the included tests with
    codecept run
    
    • Run a single Acceptance test, e.g. the Basic Search test, with
      codecept run tests/acceptance/Core/Authenticated/SearchBasicCept.php
      
  • Write more tests and share them!

About

Webtests for CiviCRM, built on Codeception

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages