Julio Montoya dbd33061c1 Partial merge with 1.11.x see BT#15952 | 5 vuotta sitten | |
---|---|---|
.. | ||
behat | 5 vuotta sitten | |
datafiller | 5 vuotta sitten | |
history | 6 vuotta sitten | |
img | 13 vuotta sitten | |
migrations | 9 vuotta sitten | |
procedures | 13 vuotta sitten | |
scripts | 5 vuotta sitten | |
travis | 6 vuotta sitten | |
video | 7 vuotta sitten | |
xhprof | 7 vuotta sitten | |
README.md | 7 vuotta sitten | |
build.phing.xml | 9 vuotta sitten | |
index.html | 13 vuotta sitten | |
phpDocumentor.ini | 10 vuotta sitten | |
phpmd.xml | 10 vuotta sitten | |
wipe-out.php | 7 vuotta sitten |
This directory is used for all kinds of tests and scripts and is removed from public releases as it may represent a risk for production systems.
The current automated tests are developed using Behat. To run them, you will need a basic default installation of the corresponding version of Chamilo LMS, which should include the vendor/behat/behat/bin/behat executable.
Make sure you set the right base_url in behat.yml, then run (on the command line, from the tests/ directory):
../vendor/behat/behat/bin/behat behat/features/login.feature
../vendor/behat/behat/bin/behat behat/features/createUser.feature
../vendor/behat/behat/bin/behat behat/features/createCourse.feature
../vendor/behat/behat/bin/behat behat/features/courseTools.feature
../vendor/behat/behat/bin/behat behat/features/forum.feature
../vendor/behat/behat/bin/behat behat/features/socialGroup.feature
../vendor/behat/behat/bin/behat behat/features/accessCompanyReports.feature
This should run all tests and all of them should pass.
Although many scripts here are deprecated, the current structure can be described as follows;
The scripts available at the root are mostly deprecated. behat.yml (see Behat section) serves as the configuration for the Behat test suite.
Folder meant as the destination for documentation automatically generated by running PHPDoc. It only contains a README file by default.
Set of scripts to fill your test installation of Chamilo with demo content.
Behat-specific folder
Attempt at keeping a track of what Chamilo looked like over time.
Combination of unofficial scripts to execute migrations from other systems
xls spreadsheets to be used as base for manual quality review of features in Chamilo.
A collection of scripts used to fix or improve some things globally in Chamilo portals. Mostly for old versions.
Scripts to help with the move from Chamilo-format translations to PO (gettext)
Scripts to handle mass operations on video files.
Scripts to enable the use of the XHprof profiler (with these, you only need a small change to your PHP config to enable profiling each Chamilo page).