-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
44 lines (41 loc) · 1.75 KB
/
phpunit.xml
File metadata and controls
44 lines (41 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
cacheDirectory=".phpunit.cache"
defaultTestSuite="Unit">
<testsuites>
<!-- Default suite: offline. Uses Http::fake() for any LLM /
external call. CI runs this suite. -->
<testsuite name="Unit">
<directory>tests/Unit</directory>
</testsuite>
<!-- Feature suite: end-to-end against artisan commands +
package migrations + Http::fake(). Same offline guarantee
as Unit; CI runs both as part of the default invocation. -->
<testsuite name="Feature">
<directory>tests/Feature</directory>
</testsuite>
<!-- Architecture suite: textual / file-system invariants
(standalone-agnostic, no AskMyDocs symbols). CI runs this
suite alongside Unit. See R10 / PLAN-W4 §6.5. -->
<testsuite name="Architecture">
<directory>tests/Architecture</directory>
</testsuite>
<!-- Opt-in live suite: hits a real LLM provider configured
via the laravel/ai SDK to validate end-to-end classifier
wire compatibility. Requires PATENT_BOX_LIVE_API_KEY env
var (otherwise every test self-skips). NOT run in CI —
invoked explicitly. See README "Running the live test
suite". -->
<testsuite name="Live">
<directory>tests/Live</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory>src</directory>
</include>
</source>
</phpunit>