Skip to content

test(desktop): implement phased unit testing suite#2

Merged
ChitkulLakshya merged 1 commit into
mainfrom
feature/phased-testing-suite
Jun 25, 2026
Merged

test(desktop): implement phased unit testing suite#2
ChitkulLakshya merged 1 commit into
mainfrom
feature/phased-testing-suite

Conversation

@ChitkulLakshya

Copy link
Copy Markdown
Member

What I am doing\nI am establishing a custom, lightweight unit testing framework for the LÖVE-based Desktop Lua client.\n\n## What I have done\n- Refactored Project and Task Managers: Decoupled constructor-level requires, allowing a mock HTTP client override field.\n- Added Decoupling Mocks: Created \mocks.lua\ supplying mock HTTP client factories with request capturing and outcome status configuration.\n- Wrote File Manager and Caching tests: Created \ est_file_manager.lua\ validating flat-file JSON persistence storage.\n- Wrote API Manager tests: Created \ est_project_manager.lua\ validating REST queries and local database serialization caches.\n- Wrote Auth & Socket check tests: Created \ est_auth_manager.lua\ and \ est_connectivity_check.lua\ checking session token operations and socket availability checks.\n- Integrated inside LÖVE: Updated \main.lua\ to intercept a --test\ command-line parameter, executing all tests in the headless CLI runner during startup.\n- Documented in README: Added a detailed Testing Strategy section and LÖVE run instructions to \README.md.

@ChitkulLakshya ChitkulLakshya merged commit f23dd7b into main Jun 25, 2026
1 check failed
@ChitkulLakshya ChitkulLakshya deleted the feature/phased-testing-suite branch June 25, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant