Add and update name convention
Some checks failed
Some checks failed
This commit is contained in:
@@ -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)
|
||||
```
|
||||
|
||||
|
||||
1
tests/TestAudioManager.gd.uid
Normal file
1
tests/TestAudioManager.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bloix8dfixjem
|
||||
1
tests/TestGameManager.gd.uid
Normal file
1
tests/TestGameManager.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://b0ua34ofjdirr
|
||||
1
tests/TestLogging.gd.uid
Normal file
1
tests/TestLogging.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://brqb7heh3g0ja
|
||||
@@ -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
|
||||
1
tests/TestMatch3Gameplay.gd.uid
Normal file
1
tests/TestMatch3Gameplay.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://cmv4qyq0x0bvv
|
||||
1
tests/TestMigrationCompatibility.gd.uid
Normal file
1
tests/TestMigrationCompatibility.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://graevpkmrau4
|
||||
@@ -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)
|
||||
1
tests/TestMouseSupport.gd.uid
Normal file
1
tests/TestMouseSupport.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://kdrhd734kdel
|
||||
@@ -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:
|
||||
1
tests/TestSceneValidation.gd.uid
Normal file
1
tests/TestSceneValidation.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dco5ddmpe5o74
|
||||
1
tests/TestSettingsManager.gd.uid
Normal file
1
tests/TestSettingsManager.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://btqloxgb5460v
|
||||
1
tests/TestTile.gd.uid
Normal file
1
tests/TestTile.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://cf6uxd4ewd7n8
|
||||
1
tests/TestValueStepper.gd.uid
Normal file
1
tests/TestValueStepper.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://copuu5lcw562s
|
||||
@@ -1 +0,0 @@
|
||||
uid://bo0vdi2uhl8bm
|
||||
@@ -1 +0,0 @@
|
||||
uid://cxoh80im7pak
|
||||
@@ -1 +0,0 @@
|
||||
uid://bwygfhgn60iw3
|
||||
@@ -1 +0,0 @@
|
||||
uid://b0jpu50jmbt7t
|
||||
@@ -1 +0,0 @@
|
||||
uid://cnhiygvadc13
|
||||
@@ -1 +0,0 @@
|
||||
uid://gnepq3ww2d0a
|
||||
@@ -1 +0,0 @@
|
||||
uid://b6kwoodf4xtfg
|
||||
@@ -1 +0,0 @@
|
||||
uid://dopm8ivgucbgd
|
||||
@@ -1 +0,0 @@
|
||||
uid://bdn1rf14bqwv4
|
||||
@@ -1 +0,0 @@
|
||||
uid://cfofaihfhmh8q
|
||||
Reference in New Issue
Block a user