-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
43 lines (41 loc) · 1.81 KB
/
phpunit.xml
File metadata and controls
43 lines (41 loc) · 1.81 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
<?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>
<!-- Architecture suite: textual / file-system invariants
(standalone-agnostic, no AskMyDocs symbols). CI runs this
suite alongside Unit. -->
<testsuite name="Architecture">
<directory>tests/Architecture</directory>
</testsuite>
<!-- Opt-in live suite: hits a real LLM provider over raw HTTP
(Illuminate\Http\Client\Factory, configurable via the
EVAL_HARNESS_JUDGE_ENDPOINT / EVAL_HARNESS_JUDGE_MODEL
env vars) to validate end-to-end metric wire format and
provider compatibility. The metrics shipped today do NOT
route through the laravel/ai SDK; that's a downstream
integration concern; the live suite covers the harness
contract end-to-end against any OpenAI-compatible
endpoint. Requires EVAL_HARNESS_LIVE_API_KEY env var
(otherwise every test self-skips). This suite is not run
in CI; invoke it 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>