This is the Drupal Pack for Certificationy.
This is provides a complete system to build multiple choice question system. This is useful for any company that need to test an applicant, or to make a certification website/training tool.
As usual, use composer to install the library:
git clone https://github.com/certificationy/certificationy-cli.git
cd certificationy-cli
composer require "wengerk/certificationy-drupal-pack"
Then, you need to load packs using the config.yml
file.
For instance, let's say you need the drupal-pack:
# config.yaml
paths: ["vendor/wengerk/certificationy-drupal-pack/data"]
Then you can do:
php certificationy.php start
php certificationy.php start --number=10
The default value is 20.
php certificationy.php start --list [-l]
Will list all the categories available
php certificationy.php start "Automated tests" "Bundles"
Will only get the questions from the categories "Automated tests" and "Bundles"
Use the category list from List categories
php certificationy.php start --hide-multiple-choice
As default, the information will be displayed
bin/certificationy start --config=../config.yml
Will set custom config file
php certificationy.php start --number=5 --hide-multiple-choice "Automated tests" "Bundles"
- 5 questions
- We will hide the information that questions are/aren't multiple choice
- Only get questions from category "Automated tests" and "Bundles"
Note: if you pass --list [-l] then you will ONLY get the category list, regarding your other settings
You can submit PR with your own questions into the packs located under the Certificationy Drupal Repository.
Certificationy provides packs for both PHP5 and Symfony certifications.
More we will have questions, the more powerful will be this tool!