Skip to content

Conversation

@watany-dev
Copy link
Owner

  • Refactor main() to extract testable mainCore function
  • Add direct tests for main() entry point with os.Args manipulation
  • Add comprehensive tests for mainCore with mock exit function
  • Cover both success paths and error handling (exit code 1)

- Refactor main() to extract testable mainCore function
- Add direct tests for main() entry point with os.Args manipulation
- Add comprehensive tests for mainCore with mock exit function
- Cover both success paths and error handling (exit code 1)
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.

3 participants