jilo-web/tests
Yasen Pramatarov f0b487ca36 Reorganizes tests folder structure 2025-02-20 10:41:14 +02:00
..
Feature Reorganizes tests folder structure 2025-02-20 10:41:14 +02:00
Unit Reorganizes tests folder structure 2025-02-20 10:41:14 +02:00
.gitignore Reorganizes tests folder structure 2025-02-20 10:41:14 +02:00
README.md Reorganizes tests folder structure 2025-02-20 10:41:14 +02:00
TestCase.php Reorganizes tests folder structure 2025-02-20 10:41:14 +02:00
TestSessionHandler.php Reorganizes tests folder structure 2025-02-20 10:41:14 +02:00
bootstrap.php Reorganizes tests folder structure 2025-02-20 10:41:14 +02:00
composer.json Reorganizes tests folder structure 2025-02-20 10:41:14 +02:00
phpunit.xml Reorganizes tests folder structure 2025-02-20 10:41:14 +02:00
test_php.ini Reorganizes tests folder structure 2025-02-20 10:41:14 +02:00

README.md

Jilo Web Test Suite

This directory contains the test suite for the Jilo Web application. All testing-related files are isolated here to keep the main application clean.

Structure

tests/
├── Unit/            # Unit tests (individual classes and methods)
    ├── Classes/
    └── Helpers/
├── Feature/         # Feature (integration) tests (covering multiple components)
    ├── Midleware/
    └── Security/
├── Functional/      # Functionl tests (real usage scenarios)
├── Utils/           # Custom test utilities and libraries
├── TestCase.php     # Base test case class
├── composer.json    # Composer configuration for tests
├── phpunit.xml      # PHPUnit configuration
└── README.md        # This file

Running Tests

  1. Change to the test framework directory:
cd tests
  1. Install dependencies (first time only):
composer install
  1. Run all tests:
composer test
  1. Generate coverage report:
composer test-coverage

The coverage report will be generated in tests/coverage/.