You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FastForward DevTools provides a unified mechanism to generate and aggregate multiple types of reports, including API documentation and testing metrics, into a clean and accessible directory structure.
5
+
6
+
The Reports Command (``reports``)
7
+
---------------------------------
8
+
9
+
The ``reports`` command is the high-level orchestrator that sequentially runs the documentation and testing suites with coverage enabled. It then generates a central entry point (``index.html``) in your project's ``public/`` directory.
10
+
11
+
.. code-block:: bash
12
+
13
+
composer dev-tools reports
14
+
15
+
Unified Output Structure
16
+
------------------------
17
+
18
+
When you run the reports command, the following structure is created in your project root:
19
+
20
+
.. code-block:: text
21
+
22
+
public/
23
+
├── index.html # The main frontpage linking to all reports
24
+
├── docs/ # Generated HTML API documentation (phpDocumentor)
25
+
└── coverage/ # Testing reports (PHPUnit)
26
+
├── index.html # Detailed HTML Code Coverage report
The Code Coverage report provides a visual representation of which lines of your code are executed by your tests. It helps identify untested areas of the codebase.
35
+
36
+
- **Location**: ``public/coverage/index.html``
37
+
- **Generation**: Triggered by ``composer dev-tools reports`` or ``composer dev-tools tests --coverage=public/coverage``.
38
+
39
+
Testdox
40
+
-------
41
+
42
+
The Testdox report transforms your technical test case names into a human-readable list of behavioral expectations, serving as a form of living documentation for your project's functionality.
43
+
44
+
- **Location**: ``public/coverage/testdox.html``
45
+
- **Generation**: Automatically included whenever coverage is generated via the ``reports`` or ``tests`` commands.
46
+
47
+
Live Reports (GitHub Pages)
48
+
---------------------------
49
+
50
+
For the latest status of the ``main`` branch, you can access the live reports deployed via GitHub Actions:
0 commit comments