QaraTMS is an open source test management software for managing test suites, test cases, test plans, test runs and documentation.
tms
using utf8_general_ci
, or you can use SQLite.composer install
or php composer.phar install
.env.backup
file to .env
and fill the database information.php artisan key:generate
php artisan migrate
php artisan db:seed --class=AdminSeeder
to create admin user and assign permissions.php artisan serve
If you are using SQLite:
.env_sqlite.backup
file to .env
and fill the database information.This project is configured to use the laravel-ide-helper. To generate the helper files run these commands:
Windows:
php artisan ide-helper:generate; php artisan ide-helper:models --write-mixin; php artisan ide-helper:meta; php artisan ide-helper:eloquent
sudo chmod +x docker-run.sh
and run ./docker-run.sh
docker compose up -d --build
and on the first run or after clearing the database or its
volume docker exec app php artisan migrate
and docker exec app php artisan db:seed --class=AdminSeeder
to
create the admin user and assign permissionsPlease contribute using GitHub Flow. Create a branch, add commits, and open a pull request.
When a model is updated, the helper files for it must be regenerated to provide autocompletion inside the source code. To do so, run this command:
php artisan ide-helper:models -M
Before running tests locally you need to initialize the testing environment database using
php artisan migrate --env=testing
after that is done, you can run the tests using
php artisan test
The
testing
environment is automatically applied when runningphp artisan test
so the tests use the .env.testing file as the configuration.
To evaluate the code coverage, xdebug must be installed and its mode must contain coverage
. After that, you can
execute the tests with code coverage analysis enabled using
php artisan test --coverage
QaraTMS is licensed under the MIT license.