QaraTMS
QaraTMS is open source test case, test suites, test plans and test runs management tool.
Install / Use
/learn @a13xh7/QaraTMSREADME
QaraTMS - Open Source Test Management System
QaraTMS is an open source test management software for managing test suites, test cases, test plans, test runs and documentation.
Languages and Tools:
<a href="https://php.net/" title="PHP"><img src="https://github.com/get-icon/geticon/raw/master/icons/php.svg" alt="PHP" width="60px" height="60px"></a> <a href="https://laravel.com/" title="Laravel"><img src="https://github.com/get-icon/geticon/raw/master/icons/laravel.svg" alt="Laravel" width="60px" height="60px"></a> <a href="https://www.w3.org/TR/html5/" title="HTML5"><img src="https://github.com/get-icon/geticon/raw/master/icons/html-5.svg" alt="HTML5" width="60px" height="60px"></a> <a href="https://www.w3.org/TR/CSS/" title="CSS3"><img src="https://github.com/get-icon/geticon/raw/master/icons/css-3.svg" alt="CSS3" width="60px" height="60px"></a> <a href="https://jquery.com/" title="jQuery"><img src="https://github.com/get-icon/geticon/raw/master/icons/jquery-icon.svg" alt="jQuery" width="60px" height="60px"></a> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript" title="JavaScript"><img src="https://github.com/get-icon/geticon/raw/master/icons/javascript.svg" alt="JavaScript" width="60px" height="60px"></a>
Getting Started
- You need to have php ^8.3, mysql-8 or SQLite, composer installed.
- Pull the project from GitHub.
- Create a database named
tmsusingutf8_general_ci, or you can use SQLite. - Run
composer installorphp composer.phar install - Copy and rename the
.env.backupfile to.envand fill the database information. - Run
php artisan key:generate - Run
php artisan migrate - Run
php artisan db:seed --class=AdminSeederto create admin user and assign permissions. - Run
php artisan serve - You can now access QaraTMS at http://localhost
- Login with default email and password - admin@admin.com / password
- Go to Users page and change default email and password.
If you are using SQLite:
- Create database.sqlite file in ./database folder
- Copy and rename the
.env_sqlite.backupfile to.envand fill the database information.
Generating Helper Sources for Project
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
Getting Started with docker-compose (quick start)
- Install docker and docker-compose
- Make docker-run.sh file executable
sudo chmod +x docker-run.shand run./docker-run.sh - Or
docker compose up -d --buildand on the first run or after clearing the database or its volumedocker exec app php artisan migrateanddocker exec app php artisan db:seed --class=AdminSeederto create the admin user and assign permissions
Getting Started with docker-compose (extended)
- To access advanced configuration, refer to the extended documentation
How to use it

- Create a Project.<br>
<br><br> - Create a Test Repository. Test suites and test cases are located inside test repositories.
You can create several test repositories for different project modules e.g. web, admin, API, etc.<br>
<br><br> - Add test suites and test cases to the test repository.<br>
<br><br> - Create a test plan and select the test cases you need to test.<br>
<br><br> - Start new test run.<br>
<br><br> - Also, there is documentation module where you can store your project's documentation.<br>
<br><br>
Contributing
Please contribute using GitHub Flow. Create a branch, add commits, and open a pull request.
Updating Models
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
Running Tests
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
testingenvironment is automatically applied when runningphp artisan testso the tests use the .env.testing file as the configuration.
Code Coverage
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
License
QaraTMS is licensed under the MIT license.
