Skip to content

Conversation

@httpdss
Copy link
Owner

@httpdss httpdss commented Feb 3, 2025

Add pytest unittests for struct_module in the tests folder.

  • Commands Tests: Add tests/test_commands.py to test GenerateCommand, InfoCommand, ValidateCommand, and ListCommand.
  • Completers Tests: Add tests/test_completers.py to test log_level_completer and file_strategy_completer.
  • Content Fetcher Tests: Add tests/test_content_fetcher.py to test ContentFetcher.
  • File Item Tests: Add tests/test_file_item.py to test FileItem.
  • Input Store Tests: Add tests/test_input_store.py to test InputStore.
  • Logging Config Tests: Add tests/test_logging_config.py to test configure_logging.
  • Template Renderer Tests: Add tests/test_template_renderer.py to test TemplateRenderer.
  • Utils Tests: Add tests/test_utils.py to test utility functions in utils.py.

For more details, open the Copilot Workspace session.

Add pytest unittests for `struct_module` in the `tests` folder.

* **Commands Tests**: Add `tests/test_commands.py` to test `GenerateCommand`, `InfoCommand`, `ValidateCommand`, and `ListCommand`.
* **Completers Tests**: Add `tests/test_completers.py` to test `log_level_completer` and `file_strategy_completer`.
* **Content Fetcher Tests**: Add `tests/test_content_fetcher.py` to test `ContentFetcher`.
* **File Item Tests**: Add `tests/test_file_item.py` to test `FileItem`.
* **Input Store Tests**: Add `tests/test_input_store.py` to test `InputStore`.
* **Logging Config Tests**: Add `tests/test_logging_config.py` to test `configure_logging`.
* **Template Renderer Tests**: Add `tests/test_template_renderer.py` to test `TemplateRenderer`.
* **Utils Tests**: Add `tests/test_utils.py` to test utility functions in `utils.py`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/httpdss/struct?shareId=XXXX-XXXX-XXXX-XXXX).
@httpdss httpdss merged commit e3f7e78 into main Feb 4, 2025
3 checks passed
@httpdss httpdss deleted the add-pytest-unittests branch February 4, 2025 02:33
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.

2 participants