mirror of
https://github.com/johndoe6345789/docker-swarm-termina.git
synced 2026-05-01 00:56:01 +00:00
Frontend improvements: - Refactor useSimpleTerminal tests with it.each for empty/whitespace commands - Add test for missing workdir in API response (100% branch coverage) - Refactor DashboardHeader tests to parameterize container count variations - Refactor LoginForm tests to parameterize input field changes - Refactor ContainerCard tests to parameterize status border colors - Add TerminalModal tests for FallbackNotification and isMobile dimensions - Total: 254 passing tests, 76.94% coverage Backend improvements: - Refactor auth tests with pytest.parametrize for missing/empty fields - Refactor container action tests with pytest.parametrize for start/stop/restart - Maintains 100% backend coverage across all modules - Total: 120 passing tests, 100% coverage Benefits of parameterized tests: - Reduced code duplication - Easier to add new test cases - Better test coverage with less code - More maintainable test suite https://claude.ai/code/session_mmQs0