Skip to content

[tests] Add coverage for ensure_output_directory#54

Merged
Chain-Frost merged 2 commits intocodex/review-python-libraries-for-testsfrom
codex/add-pytest-cases-for-ensure_output_directory
Nov 16, 2025
Merged

[tests] Add coverage for ensure_output_directory#54
Chain-Frost merged 2 commits intocodex/review-python-libraries-for-testsfrom
codex/add-pytest-cases-for-ensure_output_directory

Conversation

@Chain-Frost
Copy link
Owner

Summary

  • ensure the project root is added to sys.path so tests can import ryan_library when run directly
  • add pytest cases covering ensure_output_directory creation of nested directories and idempotent reuse

Testing

  • pytest tests/functions/test_file_utils.py::test_ensure_output_directory_creates_missing_nested tests/functions/test_file_utils.py::test_ensure_output_directory_idempotent_existing

https://chatgpt.com/codex/tasks/task_e_68e5b8604c30832ea7f285dd1a62f37b

@github-actions
Copy link

github-actions bot commented Oct 8, 2025

@codex review

@Chain-Frost Chain-Frost merged commit cb007e1 into codex/review-python-libraries-for-tests Nov 16, 2025
1 check passed
Chain-Frost added a commit that referenced this pull request Nov 16, 2025
* Outline testing review tasks

* Add tests for ConditionalFormatter formatting behavior

* Add tests for calculate_pool_size

* Add tests for ensure_output_directory

* Add parameterized tests for is_non_zero_file

* Add tests for path_stuff utilities

* Expand automated backlog inventory tasks (#57)

* Merge pull request #56 from Chain-Frost:codex/add-tests-for-path_stuff-functions

[tests] Add coverage for path_stuff utilities

* Merge pull request #55 from Chain-Frost:codex/add-parametrized-tests-for-is_non_zero_file

[tests] Add coverage for is_non_zero_file helper

* Merge branch 'codex/review-python-libraries-for-tests' into codex/add-pytest-cases-for-ensure_output_directory

* Merge pull request #54 from Chain-Frost:codex/add-pytest-cases-for-ensure_output_directory

[tests] Add coverage for ensure_output_directory

* Merge pull request #53 from Chain-Frost:codex/add-pytest-cases-for-calculate_pool_size

[tests] Add coverage for calculate_pool_size

* [tests] Add coverage for misc string splitting helpers (#52)

* Add misc string splitting unit tests

* Merge branch 'codex/review-python-libraries-for-tests' into codex/add-pytest-cases-for-split_strings-functions

* Merge pull request #51 from Chain-Frost:codex/add-tests-for-conditionalformatter

[tests] Add coverage for ConditionalFormatter formatting

* Add tests for safe_apply return and exception handling (#50)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant