Add and update name convention
Some checks failed
Continuous Integration / Code Formatting (push) Successful in 30s
Continuous Integration / Code Quality Check (push) Successful in 30s
Continuous Integration / Test Execution (push) Failing after 17s
Continuous Integration / CI Summary (push) Failing after 4s

This commit is contained in:
2025-09-30 00:09:55 +04:00
parent 61951a047b
commit 5275c5ca94
57 changed files with 455 additions and 68 deletions

View File

@@ -9,13 +9,13 @@ For complete testing guidelines, conventions, and usage instructions, see:
## Current Files
- `test_logging.gd` - Comprehensive logging system validation script
- `TestLogging.gd` - Comprehensive logging system validation script
## Quick Usage
```gdscript
# Add as temporary autoload or run in scene
var test_script = preload("res://tests/test_logging.gd").new()
var test_script = preload("res://tests/TestLogging.gd").new()
add_child(test_script)
```

View File

@@ -0,0 +1 @@
uid://bloix8dfixjem

View File

@@ -0,0 +1 @@
uid://b0ua34ofjdirr

1
tests/TestLogging.gd.uid Normal file
View File

@@ -0,0 +1 @@
uid://brqb7heh3g0ja

View File

@@ -50,7 +50,7 @@ func setup_test_environment():
TestHelperClass.print_step("Test Environment Setup")
# Load Match3 scene
match3_scene = load("res://scenes/game/gameplays/match3_gameplay.tscn")
match3_scene = load("res://scenes/game/gameplays/Match3Gameplay.tscn")
TestHelperClass.assert_not_null(match3_scene, "Match3 scene loads successfully")
# Create test viewport for isolated testing

View File

@@ -0,0 +1 @@
uid://cmv4qyq0x0bvv

View File

@@ -0,0 +1 @@
uid://graevpkmrau4

View File

@@ -4,8 +4,8 @@ extends SceneTree
## This test verifies that mouse input, hover events, and tile selection work correctly
# Preloaded scenes to avoid duplication
const MATCH3_SCENE = preload("res://scenes/game/gameplays/match3_gameplay.tscn")
const TILE_SCENE = preload("res://scenes/game/gameplays/tile.tscn")
const MATCH3_SCENE = preload("res://scenes/game/gameplays/Match3Gameplay.tscn")
const TILE_SCENE = preload("res://scenes/game/gameplays/Tile.tscn")
func _initialize():
@@ -34,12 +34,12 @@ func test_match3_scene_loading():
print("Testing Match3 scene loading...")
if not MATCH3_SCENE:
print("❌ FAILED: Could not load match3_gameplay.tscn")
print("❌ FAILED: Could not load Match3Gameplay.tscn")
return
var match3_instance = MATCH3_SCENE.instantiate()
if not match3_instance:
print("❌ FAILED: Could not instantiate match3_gameplay scene")
print("❌ FAILED: Could not instantiate Match3Gameplay scene")
return
root.add_child(match3_instance)

View File

@@ -0,0 +1 @@
uid://kdrhd734kdel

View File

@@ -151,7 +151,7 @@ func test_critical_scenes():
"res://scenes/main/main.tscn",
"res://scenes/game/game.tscn",
"res://scenes/ui/MainMenu.tscn",
"res://scenes/game/gameplays/match3_gameplay.tscn"
"res://scenes/game/gameplays/Match3Gameplay.tscn"
]
for scene_path in critical_scenes:

View File

@@ -0,0 +1 @@
uid://dco5ddmpe5o74

View File

@@ -0,0 +1 @@
uid://btqloxgb5460v

1
tests/TestTile.gd.uid Normal file
View File

@@ -0,0 +1 @@
uid://cf6uxd4ewd7n8

View File

@@ -0,0 +1 @@
uid://copuu5lcw562s

View File

@@ -1 +0,0 @@
uid://bo0vdi2uhl8bm

View File

@@ -1 +0,0 @@
uid://cxoh80im7pak

View File

@@ -1 +0,0 @@
uid://bwygfhgn60iw3

View File

@@ -1 +0,0 @@
uid://b0jpu50jmbt7t

View File

@@ -1 +0,0 @@
uid://cnhiygvadc13

View File

@@ -1 +0,0 @@
uid://gnepq3ww2d0a

View File

@@ -1 +0,0 @@
uid://b6kwoodf4xtfg

View File

@@ -1 +0,0 @@
uid://dopm8ivgucbgd

View File

@@ -1 +0,0 @@
uid://bdn1rf14bqwv4

View File

@@ -1 +0,0 @@
uid://cfofaihfhmh8q