🧪 Résultats des Tests
Last run: 01/12/2025 08:33:15
📈 Résumé Global
Taux de Réussite
100%
Tests
147
Assertions
514
Temps
35.265958s
🧪 Tests PHPUnit
✅ Succès
📋 Détail des 147 tests
🔹 Other
NatsMessage
Can Create Nats Message With Valid Data
Tests\Unit\Domain\Monitoring\NatsMessageTest
0.014s
Message Has Unique Id
Tests\Unit\Domain\Monitoring\NatsMessageTest
0.004s
Can Convert Message To Array
Tests\Unit\Domain\Monitoring\NatsMessageTest
0.001s
Can Match Subject Pattern
Tests\Unit\Domain\Monitoring\NatsMessageTest
0.002s
Can Search In Payload
Tests\Unit\Domain\Monitoring\NatsMessageTest
0.001s
Message Is Immutable
Tests\Unit\Domain\Monitoring\NatsMessageTest
0.001s
Throws Exception For Invalid Timestamp
Tests\Unit\Domain\Monitoring\NatsMessageTest
0.002s
Can Search In Deeply Nested Payload
Tests\Unit\Domain\Monitoring\NatsMessageTest
0s
Payload Handles Special Types
Tests\Unit\Domain\Monitoring\NatsMessageTest
0.001s
Payload Empty Array Does Not Match
Tests\Unit\Domain\Monitoring\NatsMessageTest
0.001s
Id Format Is Md5 Hash
Tests\Unit\Domain\Monitoring\NatsMessageTest
0s
NatsSubject
Can Create Valid Subject
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0.001s
Subject Is Immutable
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0.001s
Accepts Valid Subject Formats With Data Set "Simple"
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0.001s
Accepts Valid Subject Formats With Data Set "Nested"
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0.001s
Accepts Valid Subject Formats With Data Set "Deep Nesting"
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0.001s
Accepts Valid Subject Formats With Data Set "With Numbers"
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0.001s
Accepts Valid Subject Formats With Data Set "With Wildcard"
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0.001s
Accepts Valid Subject Formats With Data Set "With Partial Wildcard"
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0.001s
Throws Exception For Invalid Subjects With Data Set "Empty"
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0.001s
Throws Exception For Invalid Subjects With Data Set "Only Whitespace"
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0.001s
Throws Exception For Invalid Subjects With Data Set "Starts With Dot"
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0.001s
Throws Exception For Invalid Subjects With Data Set "Ends With Dot"
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0.001s
Throws Exception For Invalid Subjects With Data Set "Double Dots"
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0.001s
Throws Exception For Invalid Subjects With Data Set "Special Chars"
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0.001s
Can Match Wildcard Patterns
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0s
Subjects Are Equal By Value
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0s
Can Get Subject Parts
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0s
Can Get Root Namespace
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0s
Matches Complex Wildcard Patterns
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0.001s
Matches Wildcard At Different Positions
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0.001s
Subject With Underscores And Hyphens
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0.001s
Single Token Subject
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0.001s
ResourceNodeRelationship
Resource Node Belongs To Resource Node Type
Tests\Unit\ResourceNodeRelationshipTest
14.016s
Resource Node Mining Time Comes From Type
Tests\Unit\ResourceNodeRelationshipTest
0.023s
Resource Node Mining Time With Eager Loading
Tests\Unit\ResourceNodeRelationshipTest
0.016s
Resource Node Cascade Deletes On Type Deletion
Tests\Unit\ResourceNodeRelationshipTest
0.02s
Resource Node Type Id Is Required
Tests\Unit\ResourceNodeRelationshipTest
0.015s
Multiple Nodes Can Share Same Type
Tests\Unit\ResourceNodeRelationshipTest
0.026s
ResourceNodeType
Resource Node Type Can Be Created
Tests\Unit\ResourceNodeTypeTest
0.015s
Resource Node Type Name Must Be Unique
Tests\Unit\ResourceNodeTypeTest
0.011s
Resource Node Type Has Many Resource Nodes
Tests\Unit\ResourceNodeTypeTest
0.021s
Resource Node Type Timestamps Are Set
Tests\Unit\ResourceNodeTypeTest
0.013s
Resource Node Type Can Have Null Description
Tests\Unit\ResourceNodeTypeTest
0.017s
Resource Node Type Has Default Mining Time
Tests\Unit\ResourceNodeTypeTest
0.014s
TestManager
Run All Tests Returns Timestamp
Tests\Unit\TestManagerTest
0.013s
HomePage
Home Page Returns 302
Tests\Feature\General\HomePageTest
0.016s
Docs Page Returns 200
Tests\Feature\General\HomePageTest
0.017s
NatsMonitorControllerConfig
It Passes Nats Config To View
Tests\Feature\Http\Controllers\NatsMonitorControllerConfigTest
0.017s
It Enables Simulation Mode When Nats Disabled
Tests\Feature\Http\Controllers\NatsMonitorControllerConfigTest
0.016s
It Uses Default Reconnect Delay When Not Configured
Tests\Feature\Http\Controllers\NatsMonitorControllerConfigTest
0.018s
NatsMonitorController
Nats Monitor Route Requires Authentication
Tests\Feature\Http\Controllers\NatsMonitorControllerTest
0.018s
Authenticated User Can Access Nats Monitor Page
Tests\Feature\Http\Controllers\NatsMonitorControllerTest
0.036s
Nats Monitor Page Has Correct Config
Tests\Feature\Http\Controllers\NatsMonitorControllerTest
0.018s
Nats Monitor Page Loads Required Assets
Tests\Feature\Http\Controllers\NatsMonitorControllerTest
0.019s
Nats Monitor Has Websocket Container
Tests\Feature\Http\Controllers\NatsMonitorControllerTest
0.025s
Nats Monitor Has Filter Controls
Tests\Feature\Http\Controllers\NatsMonitorControllerTest
0.023s
Nats Monitor Has Export Button
Tests\Feature\Http\Controllers\NatsMonitorControllerTest
0.021s
Controller Is Thin And Delegates To Use Case
Tests\Feature\Http\Controllers\NatsMonitorControllerTest
0.011s
NatsIntegration
Full Stack Nats Message Creation And Display
Tests\Feature\Monitoring\NatsIntegrationTest
0.033s
Domain Entities Work With Real Nats Patterns
Tests\Feature\Monitoring\NatsIntegrationTest
0.021s
Config Nats Provides Defaults
Tests\Feature\Monitoring\NatsIntegrationTest
0.016s
Authentication Middleware Protects Monitor Route
Tests\Feature\Monitoring\NatsIntegrationTest
0.027s
Nats Monitor View Renders With Js Config
Tests\Feature\Monitoring\NatsIntegrationTest
0.031s
Message Filtering By Subject Pattern
Tests\Feature\Monitoring\NatsIntegrationTest
0.016s
Message Payload Search Integration
Tests\Feature\Monitoring\NatsIntegrationTest
0.014s
Nats Monitor Has All Ui Components
Tests\Feature\Monitoring\NatsIntegrationTest
0.032s
Domain Layer Has No Laravel Dependencies
Tests\Feature\Monitoring\NatsIntegrationTest
0.014s
NatsMonitorE2E
Complete User Journey From Login To Monitor
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.992s
E2E Filter Workflow Ui Elements Present
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.017s
E2E Realtime Monitoring Ui Structure
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.039s
E2E Statistics Panel Complete
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.02s
E2E Responsive Layout Grid
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.02s
E2E Export Functionality Button Present
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.021s
E2E Config Propagation To Javascript
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.021s
E2E Logout Workflow
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.033s
E2E Inline Styles Present No External Css
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.021s
E2E Javascript Initialization Code
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.021s
E2E Compact Mode Toggle Exists
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.022s
E2E Grouping Mode Toggle Exists
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.02s
E2E Autoscroll Toggle Default Enabled
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.021s
ResourceNodeMigration
Migration Creates Resource Node Types Table
Tests\Feature\ResourceNodeMigrationTest
0.026s
Migration Creates Correct Columns In Resource Node Types
Tests\Feature\ResourceNodeMigrationTest
0.046s
Migration Adds Resource Node Type Id To Resource Nodes
Tests\Feature\ResourceNodeMigrationTest
0.032s
Migration Removes Type Column From Resource Nodes
Tests\Feature\ResourceNodeMigrationTest
0.032s
Migration Seeds Gold And Spice Types
Tests\Feature\ResourceNodeMigrationTest
0.035s
Gold Type Has Correct Mining Time
Tests\Feature\ResourceNodeMigrationTest
0.029s
Spice Type Has Correct Mining Time
Tests\Feature\ResourceNodeMigrationTest
0.026s
Resource Node Can Be Created With Type Id
Tests\Feature\ResourceNodeMigrationTest
0.046s
Foreign Key Constraint Exists
Tests\Feature\ResourceNodeMigrationTest
0.043s
Resource Nodes Without Type Id Cannot Be Created
Tests\Feature\ResourceNodeMigrationTest
0.032s
🔹 Api
ApiEdgeCases
Logout With Valid Token Revokes Token
Tests\Feature\Api\ApiEdgeCasesTest
0.406s
Expired Token Is Rejected
Tests\Feature\Api\ApiEdgeCasesTest
0.015s
Register Duplicate Email Returns 422
Tests\Feature\Api\ApiEdgeCasesTest
0.026s
Register Short Password Returns 422
Tests\Feature\Api\ApiEdgeCasesTest
0.011s
Login With Wrong Password Returns 401
Tests\Feature\Api\ApiEdgeCasesTest
1.002s
Version Endpoint Prefers Version Json When Present
Tests\Feature\Api\ApiEdgeCasesTest
0.019s
Maps Create Missing Name Returns 422
Tests\Feature\Api\ApiEdgeCasesTest
0.04s
ApiMisc
Ping Endpoint
Tests\Feature\Api\ApiMiscTest
0.014s
Version Endpoint Returns Version
Tests\Feature\Api\ApiMiscTest
0.013s
🔹 Map
MapsApi
Map Show And Entities Endpoints
Tests\Feature\Api\MapsApiTest
0.042s
JoinMapCapacity
Map Capacity Is Respected
Tests\Feature\Map\JoinMapCapacityTest
0.044s
JoinMapNotify
Notify Join Is Called On Successful Join
Tests\Feature\Map\JoinMapNotifyTest
0.042s
JoinMap
Join Map Fails When Map Does Not Exist
Tests\Feature\Map\JoinMapTest
0.025s
Join Map Succeeds When Map Exists
Tests\Feature\Map\JoinMapTest
0.046s
MapCreate
Authorized User Can Create Map
Tests\Feature\Map\MapCreateTest
5.677s
Unauthorized User Gets 403
Tests\Feature\Map\MapCreateTest
0.023s
MapsApi
Get Maps Returns Json Structure
Tests\Feature\Map\MapsApiTest
0.015s
OccupancyService
Is Occupied Detects Dwellings And Nodes
Tests\Feature\Map\OccupancyServiceTest
0.058s
Find Adjacent Free Tile Returns Tile Or Null
Tests\Feature\Map\OccupancyServiceTest
0.082s
🔹 Auth
AuthEndpoints
Register Endpoint Creates User
Tests\Feature\Auth\AuthEndpointsTest
0.293s
Login Endpoint Authenticates User
Tests\Feature\Auth\AuthEndpointsTest
1.081s
Me Endpoint Returns Current User
Tests\Feature\Auth\AuthEndpointsTest
0.825s
Join Map Endpoint Requires Auth And Accepts Request
Tests\Feature\Auth\AuthEndpointsTest
0.507s
🔹 Docs
DocsApiAndMisc
Docs Scalar And Elements
Tests\Feature\Docs\DocsApiAndMiscTest
0.047s
Docs Api Stats Returns Json
Tests\Feature\Docs\DocsApiAndMiscTest
0.019s
Docs Api Test Results Uses Test Manager
Tests\Feature\Docs\DocsApiAndMiscTest
0.026s
Docs Api Readme Content Uses Readme Manager
Tests\Feature\Docs\DocsApiAndMiscTest
0.017s
Logout Without Token Returns 400
Tests\Feature\Docs\DocsApiAndMiscTest
0.009s
DocsRoutes
Docs Index
Tests\Feature\Docs\DocsRoutesTest
0.02s
Docs Tests Page
Tests\Feature\Docs\DocsRoutesTest
0.027s
Docs Swagger And Redoc
Tests\Feature\Docs\DocsRoutesTest
0.02s
Docs Readme
Tests\Feature\Docs\DocsRoutesTest
0.021s
🔹 Dwelling
Dwelling
Create Dwelling Requires Auth And Resources
Tests\Feature\Dwelling\DwellingTest
0.375s
🔹 Nomad
MoveNomadEndpointJobRun
Endpoint Dispatches And Job Runs Immediately With Sync Queue
Tests\Feature\Nomad\MoveNomadEndpointJobRunTest
0.211s
MoveNomadJobExecution
Move Job Executes And Calls Mapserver And Webhooks
Tests\Feature\Nomad\MoveNomadJobExecutionTest
0.048s
MoveNomad
Move Nomad Debits Resources And Dispatches Job
Tests\Feature\Nomad\MoveNomadTest
0.074s
NomadCreate
Create Nomad Requires Auth And Persists
Tests\Feature\Nomad\NomadCreateTest
0.359s
NomadInsufficientFunds
Cannot Create Nomad With Insufficient Funds
Tests\Feature\Nomad\NomadInsufficientFundsTest
0.316s
NomadMoveInsufficientFunds
Move Fails With Insufficient Funds
Tests\Feature\Nomad\NomadMoveInsufficientFundsTest
0.32s
Nomad
Move Nomad Changes State And Notifies
Tests\Feature\Nomad\NomadTest
0.357s
SpawnNomad
Nomad Spawns Adjacent To Dwelling
Tests\Feature\Nomad\SpawnNomadTest
0.388s
🔹 Pathfinder
PathfinderEdgeCases
Find Path Start Equals Goal Returns Single Node
Tests\Feature\Pathfinder\PathfinderEdgeCasesTest
0.011s
Move Endpoint Returns Conflict When Goal Occupied
Tests\Feature\Pathfinder\PathfinderEdgeCasesTest
0.492s
PathfinderObstacle
Path Avoids Occupied Tile
Tests\Feature\Pathfinder\PathfinderObstacleTest
0.16s
Pathfinder
Find Path On Empty Grid
Tests\Feature\Pathfinder\PathfinderTest
0.06s
🔹 Register
RegisterMeToken
Register Returns Token And Me Works And Only One Token Per Device
Tests\Feature\Register\RegisterMeTokenTest
1.471s
RegisterResources
Register Response Contains Initial Gold And Spice
Tests\Feature\Register\RegisterResourcesTest
0.808s
🔹 Vision
VisionService
Tiles In Radius Count
Tests\Feature\Vision\VisionServiceTest
0.023s
Detect Enemies Excludes Same Owner
Tests\Feature\Vision\VisionServiceTest
0.039s
🔹 Webhooks
SendWebhookJobBackoff
Job Dispatches Retry When Under Max Attempts
Tests\Feature\Webhooks\SendWebhookJobBackoffTest
0.048s
Job Marks Failed When Exhausted Attempts
Tests\Feature\Webhooks\SendWebhookJobBackoffTest
0.051s
SendWebhookJobRetry
Transient Failure Then Success Increments Attempts And Delivers
Tests\Feature\Webhooks\SendWebhookJobRetryTest
0.058s
SendWebhookJob
Send Webhook Job Records Delivery On Success
Tests\Feature\Webhooks\SendWebhookJobTest
0.044s
Send Webhook Job Records Failure On Exception
Tests\Feature\Webhooks\SendWebhookJobTest
0.036s
WebhookCrud
User Can Crud Webhooks
Tests\Feature\Webhooks\WebhookCrudTest
0.948s
Other User Cannot Access Webhook
Tests\Feature\Webhooks\WebhookCrudTest
1.723s