Skip to content

Conversation

codegen-sh[bot]
Copy link

@codegen-sh codegen-sh bot commented Aug 14, 2025

This PR addresses issue #393 by expanding test coverage for the Torch.Component and Torch.Config modules.

Changes:

Torch.Component

  • Added tests for the torch_input/1 function with a form field parameter
  • Added tests for the torch_input/1 function with type "string"
  • Added tests for the default case of torch_input/1 (for other input types)
  • Added tests for custom ID attributes
  • Added tests for multiple select inputs
  • Added tests for empty flash messages
  • Added tests for flash message close buttons
  • Added tests for translate_errors with non-existent fields

Torch.Config

  • Created a new test file for the Torch.Config module
  • Added tests for the otp_app/0 function
  • Added tests for the i18n_backend/0 function
  • Added tests for default values and nil configurations

These changes improve the test coverage of the codebase, particularly for the newer components added in v5.0.0.


💻 View my workAbout Codegen
⛔ Remove Codegen from PR🚫 Ban action checks

Copy link
Author

codegen-sh bot commented Aug 14, 2025

🔍 Check Suite Status for PR #529

Check Status Commit Time Check Suite Agent trace
mix test (Elixir 1.15.x OTP 26.x) 🔄 Worki fe27d59
mix test (Elixir 1.15.x OTP 26.x) ⚪ No ac fe27d59
GitHub Actions ⚪ No action fe27d59 Just now Run Agent Work

💻 View my work🛑 Stop🚫 Ban all checks

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.

0 participants