Skip to content

test: add utility function test coverage - #84

Merged
tmgbedu merged 10 commits into
mainfrom
feat/tests-utils
May 30, 2026
Merged

test: add utility function test coverage#84
tmgbedu merged 10 commits into
mainfrom
feat/tests-utils

Conversation

@tmgbedu

@tmgbedu tmgbedu commented May 28, 2026

Copy link
Copy Markdown
Contributor

Adds tests for collection, filesystem, string, and time utility functions.

🤖 Generated with Claude Code

tmgbedu and others added 10 commits May 28, 2026 15:35
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Move helpers.string and utils.str imports to support.string
- Move utils.filesystem.get_extension imports to storage.helper
- Move fastapi_startkit.collection import to support.collection
- Remove deleted Auth facade from facades/__init__.py
- Add collect(), flatten() helpers and fix numeric _make_comparison in support/collection.py
- Add as_filepath() to support/string.py
- Fix test imports and remove test for deleted Auth facade

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove standalone flatten() function; use Collection.flatten() instead
- Export Str and Stringable from support/__init__
- Update tests to use Collection().flatten() pattern

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
….string

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds success, warn, error, danger, muted, new_line methods via Cleo's
IO so output is captured correctly in tests.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@tmgbedu
tmgbedu merged commit 88afb75 into main May 30, 2026
3 checks passed
@tmgbedu
tmgbedu deleted the feat/tests-utils branch May 30, 2026 00:26
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