🧪 Résultats des Tests
Last run: 11/12/2025 14:49:13
📈 Résumé Global
Taux de Réussite
100%
Tests
195
Assertions
715
Temps
50.590381s
🧪 Tests PHPUnit
✅ Succès
📋 Détail des 195 tests
🔹 Other
NatsMessage
Can Create Nats Message With Valid Data
Tests\Unit\Domain\Monitoring\NatsMessageTest
0.009s
Message Has Unique Id
Tests\Unit\Domain\Monitoring\NatsMessageTest
0.003s
Can Convert Message To Array
Tests\Unit\Domain\Monitoring\NatsMessageTest
0.001s
Can Match Subject Pattern
Tests\Unit\Domain\Monitoring\NatsMessageTest
0.001s
Can Search In Payload
Tests\Unit\Domain\Monitoring\NatsMessageTest
0s
Message Is Immutable
Tests\Unit\Domain\Monitoring\NatsMessageTest
0s
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
0s
Payload Empty Array Does Not Match
Tests\Unit\Domain\Monitoring\NatsMessageTest
0s
Id Format Is Md5 Hash
Tests\Unit\Domain\Monitoring\NatsMessageTest
0s
NatsSubject
Can Create Valid Subject
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0s
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
0s
Accepts Valid Subject Formats With Data Set "Deep Nesting"
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0s
Accepts Valid Subject Formats With Data Set "With Numbers"
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0s
Accepts Valid Subject Formats With Data Set "With Wildcard"
Tests\Unit\Domain\Monitoring\NatsSubjectTest
0s
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
6.388s
Resource Node Mining Time Comes From Type
Tests\Unit\ResourceNodeRelationshipTest
0.035s
Resource Node Mining Time With Eager Loading
Tests\Unit\ResourceNodeRelationshipTest
0.033s
Resource Node Cascade Deletes On Type Deletion
Tests\Unit\ResourceNodeRelationshipTest
0.031s
Resource Node Type Id Is Required
Tests\Unit\ResourceNodeRelationshipTest
0.022s
Multiple Nodes Can Share Same Type
Tests\Unit\ResourceNodeRelationshipTest
0.052s
ResourceNodeType
Resource Node Type Can Be Created
Tests\Unit\ResourceNodeTypeTest
0.03s
Resource Node Type Name Must Be Unique
Tests\Unit\ResourceNodeTypeTest
0.032s
Resource Node Type Has Many Resource Nodes
Tests\Unit\ResourceNodeTypeTest
0.037s
Resource Node Type Timestamps Are Set
Tests\Unit\ResourceNodeTypeTest
0.024s
Resource Node Type Can Have Null Description
Tests\Unit\ResourceNodeTypeTest
0.023s
Resource Node Type Has Default Mining Time
Tests\Unit\ResourceNodeTypeTest
0.027s
BuildingRules
Unique Zone Rule Passes Outside Radius
Tests\Unit\Rules\BuildingRulesTest
0.843s
Unique Zone Rule Fails Within Radius
Tests\Unit\Rules\BuildingRulesTest
0.035s
Valid Surveillance Radius Passes
Tests\Unit\Rules\BuildingRulesTest
0.038s
Valid Surveillance Radius Fails
Tests\Unit\Rules\BuildingRulesTest
0.03s
Valid Surveillance Radius Custom Bounds
Tests\Unit\Rules\BuildingRulesTest
0.037s
Unique Zone Rule Message
Tests\Unit\Rules\BuildingRulesTest
0.049s
Valid Surveillance Radius Message
Tests\Unit\Rules\BuildingRulesTest
0.038s
BuildingServices
Plunderer Camp Service Creates Camp
Tests\Unit\Services\BuildingServicesTest
0.075s
Plunderer Camp Service Fails Occupied Position
Tests\Unit\Services\BuildingServicesTest
0.078s
Sanctum Service Creates Sanctum
Tests\Unit\Services\BuildingServicesTest
0.063s
Sanctum Service Fails Zone Exclusion
Tests\Unit\Services\BuildingServicesTest
0.063s
Sanctum Service Allows Outside Exclusion
Tests\Unit\Services\BuildingServicesTest
0.055s
TestManager
Run All Tests Returns Timestamp
Tests\Unit\TestManagerTest
0.027s
BlackMarketCampKPI
List All Camps Meets Kpi 100Ms
Tests\Feature\Buildings\BlackMarketCampKPITest
0.167s
List Camps By Map Meets Kpi 50Ms
Tests\Feature\Buildings\BlackMarketCampKPITest
0.064s
Get Camp Loot Meets Kpi 50Ms
Tests\Feature\Buildings\BlackMarketCampKPITest
0.043s
Loot Percentage Calculation Precision
Tests\Feature\Buildings\BlackMarketCampKPITest
0.05s
Loot Data Consistency 100 Percent
Tests\Feature\Buildings\BlackMarketCampKPITest
0.052s
Camp Destruction With Multiple Attackers Meets Kpi 500Ms
Tests\Feature\Buildings\BlackMarketCampKPITest
7.612s
Loot Distribution No Resource Loss
Tests\Feature\Buildings\BlackMarketCampKPITest
3.925s
Proportional Distribution Calculation Precision
Tests\Feature\Buildings\BlackMarketCampKPITest
2.371s
Auto Destroy Triggers At 100 Percent Capacity
Tests\Feature\Buildings\BlackMarketCampKPITest
0.078s
Auto Destroy No False Positives
Tests\Feature\Buildings\BlackMarketCampKPITest
0.071s
Auto Destroy Detection Time Under 30 Seconds
Tests\Feature\Buildings\BlackMarketCampKPITest
0.087s
Pagination Efficiency With Large Dataset
Tests\Feature\Buildings\BlackMarketCampKPITest
0.539s
BuildingCreation
Create Plunderer Camp Success
Tests\Feature\Buildings\BuildingCreationTest
0.086s
Create Plunderer Camp Duplicate Position
Tests\Feature\Buildings\BuildingCreationTest
0.045s
Create Sanctum Success
Tests\Feature\Buildings\BuildingCreationTest
0.062s
Create Sanctum Fails Zone Exclusion
Tests\Feature\Buildings\BuildingCreationTest
0.06s
Create Warehouse Success
Tests\Feature\Buildings\BuildingCreationTest
0.06s
Create Watchtower Success
Tests\Feature\Buildings\BuildingCreationTest
0.05s
Create Watchtower Invalid Radius
Tests\Feature\Buildings\BuildingCreationTest
0.06s
Create Camp Missing Required Fields
Tests\Feature\Buildings\BuildingCreationTest
0.041s
EventLog
Event Log Is Created When Event Is Applied To Map
Tests\Feature\EventLogTest
0.06s
Log Event Job Creates Event Log Record
Tests\Feature\EventLogTest
0.055s
Event History Endpoint Returns Events Between Dates
Tests\Feature\EventLogTest
0.066s
Event History Endpoint Filters By Map Id
Tests\Feature\EventLogTest
0.063s
Event History Endpoint Filters By Event Type
Tests\Feature\EventLogTest
0.044s
Event History Endpoint Validates Required Dates
Tests\Feature\EventLogTest
0.03s
Event History Endpoint Validates To After From
Tests\Feature\EventLogTest
0.036s
Event History Endpoint Respects Limit
Tests\Feature\EventLogTest
0.185s
Event Logs Are Prunable After 7 Days
Tests\Feature\EventLogTest
0.039s
Event Log Has Relationships
Tests\Feature\EventLogTest
0.036s
HomePage
Home Page Returns 302
Tests\Feature\General\HomePageTest
0.051s
Docs Page Returns 200
Tests\Feature\General\HomePageTest
0.044s
NatsMonitorControllerConfig
It Passes Nats Config To View
Tests\Feature\Http\Controllers\NatsMonitorControllerConfigTest
0.065s
It Enables Simulation Mode When Nats Disabled
Tests\Feature\Http\Controllers\NatsMonitorControllerConfigTest
0.049s
It Uses Default Reconnect Delay When Not Configured
Tests\Feature\Http\Controllers\NatsMonitorControllerConfigTest
0.044s
NatsMonitorController
Nats Monitor Route Requires Authentication
Tests\Feature\Http\Controllers\NatsMonitorControllerTest
0.028s
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.034s
Nats Monitor Page Loads Required Assets
Tests\Feature\Http\Controllers\NatsMonitorControllerTest
0.036s
Nats Monitor Has Websocket Container
Tests\Feature\Http\Controllers\NatsMonitorControllerTest
0.039s
Nats Monitor Has Filter Controls
Tests\Feature\Http\Controllers\NatsMonitorControllerTest
0.034s
Nats Monitor Has Export Button
Tests\Feature\Http\Controllers\NatsMonitorControllerTest
0.039s
Controller Is Thin And Delegates To Use Case
Tests\Feature\Http\Controllers\NatsMonitorControllerTest
0.019s
NatsIntegration
Full Stack Nats Message Creation And Display
Tests\Feature\Monitoring\NatsIntegrationTest
0.024s
Domain Entities Work With Real Nats Patterns
Tests\Feature\Monitoring\NatsIntegrationTest
0.013s
Config Nats Provides Defaults
Tests\Feature\Monitoring\NatsIntegrationTest
0.013s
Authentication Middleware Protects Monitor Route
Tests\Feature\Monitoring\NatsIntegrationTest
0.019s
Nats Monitor View Renders With Js Config
Tests\Feature\Monitoring\NatsIntegrationTest
0.024s
Message Filtering By Subject Pattern
Tests\Feature\Monitoring\NatsIntegrationTest
0.012s
Message Payload Search Integration
Tests\Feature\Monitoring\NatsIntegrationTest
0.048s
Nats Monitor Has All Ui Components
Tests\Feature\Monitoring\NatsIntegrationTest
0.042s
Domain Layer Has No Laravel Dependencies
Tests\Feature\Monitoring\NatsIntegrationTest
0.015s
NatsMonitorE2E
Complete User Journey From Login To Monitor
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.641s
E2E Filter Workflow Ui Elements Present
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.014s
E2E Realtime Monitoring Ui Structure
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.018s
E2E Statistics Panel Complete
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.022s
E2E Responsive Layout Grid
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.018s
E2E Export Functionality Button Present
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.014s
E2E Config Propagation To Javascript
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.018s
E2E Logout Workflow
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.027s
E2E Inline Styles Present No External Css
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.035s
E2E Javascript Initialization Code
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.014s
E2E Compact Mode Toggle Exists
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.014s
E2E Grouping Mode Toggle Exists
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.015s
E2E Autoscroll Toggle Default Enabled
Tests\Feature\Monitoring\NatsMonitorE2ETest
0.014s
ResourceNodeMigration
Migration Creates Resource Node Types Table
Tests\Feature\ResourceNodeMigrationTest
0.02s
Migration Creates Correct Columns In Resource Node Types
Tests\Feature\ResourceNodeMigrationTest
0.036s
Migration Adds Resource Node Type Id To Resource Nodes
Tests\Feature\ResourceNodeMigrationTest
0.054s
Migration Removes Type Column From Resource Nodes
Tests\Feature\ResourceNodeMigrationTest
0.032s
Migration Seeds Gold And Spice Types
Tests\Feature\ResourceNodeMigrationTest
0.026s
Gold Type Has Correct Mining Time
Tests\Feature\ResourceNodeMigrationTest
0.022s
Spice Type Has Correct Mining Time
Tests\Feature\ResourceNodeMigrationTest
0.029s
Resource Node Can Be Created With Type Id
Tests\Feature\ResourceNodeMigrationTest
0.026s
Foreign Key Constraint Exists
Tests\Feature\ResourceNodeMigrationTest
0.027s
Resource Nodes Without Type Id Cannot Be Created
Tests\Feature\ResourceNodeMigrationTest
0.019s
🔹 Api
ApiEdgeCases
Logout With Valid Token Revokes Token
Tests\Feature\Api\ApiEdgeCasesTest
0.123s
Expired Token Is Rejected
Tests\Feature\Api\ApiEdgeCasesTest
0.049s
Register Duplicate Email Returns 422
Tests\Feature\Api\ApiEdgeCasesTest
0.075s
Register Short Password Returns 422
Tests\Feature\Api\ApiEdgeCasesTest
0.048s
Login With Wrong Password Returns 401
Tests\Feature\Api\ApiEdgeCasesTest
1.427s
Version Endpoint Prefers Version Json When Present
Tests\Feature\Api\ApiEdgeCasesTest
0.029s
Maps Create Missing Name Returns 422
Tests\Feature\Api\ApiEdgeCasesTest
0.053s
ApiMisc
Ping Endpoint
Tests\Feature\Api\ApiMiscTest
0.022s
Version Endpoint Returns Version
Tests\Feature\Api\ApiMiscTest
0.019s
🔹 Nomad
CartographerNomads
Nomads Endpoint Requires Authentication
Tests\Feature\Api\CartographerNomadsTest
0.035s
Nomads Endpoint Excludes Inventory And Carry Capacity
Tests\Feature\Api\CartographerNomadsTest
0.054s
Nomads Endpoint Filters By Updated Since
Tests\Feature\Api\CartographerNomadsTest
0.039s
Nomads Endpoint Rejects Invalid Timestamp
Tests\Feature\Api\CartographerNomadsTest
0.032s
Nomads Endpoint Returns Correct Structure
Tests\Feature\Api\CartographerNomadsTest
0.042s
Nomads Endpoint Filters By Map Id
Tests\Feature\Api\CartographerNomadsTest
0.047s
MoveNomadEndpointJobRun
Endpoint Dispatches And Job Runs Immediately With Sync Queue
Tests\Feature\Nomad\MoveNomadEndpointJobRunTest
0.182s
MoveNomadJobExecution
Move Job Executes And Calls Mapserver And Webhooks
Tests\Feature\Nomad\MoveNomadJobExecutionTest
0.05s
MoveNomad
Move Nomad Debits Resources And Dispatches Job
Tests\Feature\Nomad\MoveNomadTest
0.048s
NomadCreate
Create Nomad Requires Auth And Persists
Tests\Feature\Nomad\NomadCreateTest
0.312s
NomadInsufficientFunds
Cannot Create Nomad With Insufficient Funds
Tests\Feature\Nomad\NomadInsufficientFundsTest
0.312s
NomadMoveInsufficientFunds
Move Fails With Insufficient Funds
Tests\Feature\Nomad\NomadMoveInsufficientFundsTest
0.4s
Nomad
Move Nomad Changes State And Notifies
Tests\Feature\Nomad\NomadTest
0.473s
SpawnNomad
Nomad Spawns Adjacent To Dwelling
Tests\Feature\Nomad\SpawnNomadTest
0.517s
🔹 Map
MapsApi
Map Show And Entities Endpoints
Tests\Feature\Api\MapsApiTest
0.565s
JoinMapCapacity
Map Capacity Is Respected
Tests\Feature\Map\JoinMapCapacityTest
0.14s
JoinMapNotify
Notify Join Is Called On Successful Join
Tests\Feature\Map\JoinMapNotifyTest
0.07s
JoinMap
Join Map Fails When Map Does Not Exist
Tests\Feature\Map\JoinMapTest
0.044s
Join Map Succeeds When Map Exists
Tests\Feature\Map\JoinMapTest
0.165s
MapCreate
Authorized User Can Create Map
Tests\Feature\Map\MapCreateTest
7.774s
Unauthorized User Gets 403
Tests\Feature\Map\MapCreateTest
0.019s
MapsApi
Get Maps Returns Json Structure
Tests\Feature\Map\MapsApiTest
0.022s
OccupancyService
Is Occupied Detects Dwellings And Nodes
Tests\Feature\Map\OccupancyServiceTest
0.036s
Find Adjacent Free Tile Returns Tile Or Null
Tests\Feature\Map\OccupancyServiceTest
0.047s
🔹 Auth
AuthEndpoints
Register Endpoint Creates User
Tests\Feature\Auth\AuthEndpointsTest
0.569s
Login Endpoint Authenticates User
Tests\Feature\Auth\AuthEndpointsTest
1.59s
Me Endpoint Returns Current User
Tests\Feature\Auth\AuthEndpointsTest
0.827s
Join Map Endpoint Requires Auth And Accepts Request
Tests\Feature\Auth\AuthEndpointsTest
0.791s
🔹 Docs
DocsApiAndMisc
Docs Scalar And Elements
Tests\Feature\Docs\DocsApiAndMiscTest
0.071s
Docs Api Stats Returns Json
Tests\Feature\Docs\DocsApiAndMiscTest
0.032s
Docs Api Test Results Uses Test Manager
Tests\Feature\Docs\DocsApiAndMiscTest
0.032s
Docs Api Readme Content Uses Readme Manager
Tests\Feature\Docs\DocsApiAndMiscTest
0.04s
Logout Without Token Returns 400
Tests\Feature\Docs\DocsApiAndMiscTest
0.027s
DocsRoutes
Docs Index
Tests\Feature\Docs\DocsRoutesTest
0.049s
Docs Tests Page
Tests\Feature\Docs\DocsRoutesTest
0.101s
Docs Swagger And Redoc
Tests\Feature\Docs\DocsRoutesTest
0.061s
Docs Readme
Tests\Feature\Docs\DocsRoutesTest
0.048s
🔹 Dwelling
Dwelling
Create Dwelling Requires Auth And Resources
Tests\Feature\Dwelling\DwellingTest
0.927s
🔹 Pathfinder
PathfinderEdgeCases
Find Path Start Equals Goal Returns Single Node
Tests\Feature\Pathfinder\PathfinderEdgeCasesTest
0.014s
Move Endpoint Returns Conflict When Goal Occupied
Tests\Feature\Pathfinder\PathfinderEdgeCasesTest
0.778s
PathfinderObstacle
Path Avoids Occupied Tile
Tests\Feature\Pathfinder\PathfinderObstacleTest
0.261s
Pathfinder
Find Path On Empty Grid
Tests\Feature\Pathfinder\PathfinderTest
0.134s
🔹 Register
RegisterMeToken
Register Returns Token And Me Works And Only One Token Per Device
Tests\Feature\Register\RegisterMeTokenTest
1.604s
RegisterResources
Register Response Contains Initial Gold And Spice
Tests\Feature\Register\RegisterResourcesTest
0.776s
🔹 Vision
VisionService
Tiles In Radius Count
Tests\Feature\Vision\VisionServiceTest
0.02s
Detect Enemies Excludes Same Owner
Tests\Feature\Vision\VisionServiceTest
0.034s
🔹 Webhooks
SendWebhookJobBackoff
Job Dispatches Retry When Under Max Attempts
Tests\Feature\Webhooks\SendWebhookJobBackoffTest
0.039s
Job Marks Failed When Exhausted Attempts
Tests\Feature\Webhooks\SendWebhookJobBackoffTest
0.039s
SendWebhookJobRetry
Transient Failure Then Success Increments Attempts And Delivers
Tests\Feature\Webhooks\SendWebhookJobRetryTest
0.059s
SendWebhookJob
Send Webhook Job Records Delivery On Success
Tests\Feature\Webhooks\SendWebhookJobTest
0.051s
Send Webhook Job Records Failure On Exception
Tests\Feature\Webhooks\SendWebhookJobTest
0.04s
WebhookCrud
User Can Crud Webhooks
Tests\Feature\Webhooks\WebhookCrudTest
0.865s
Other User Cannot Access Webhook
Tests\Feature\Webhooks\WebhookCrudTest
1.222s