fedify icon indicating copy to clipboard operation
fedify copied to clipboard

Add tests for `init` CLI and fix the command

Open 2chanhaeng opened this issue 2 months ago • 3 comments

Summary

We need tests for init CLI and fix the command

Problem

When the version was updated to 2.0, the init CLI not only applied optique but also underwent code refactoring. However, this process introduced a problem in the code, preventing it from running. Since there are too many cases, it's inefficient for a human to check each one individually, so a test code is needed for this. This test code would consume too many resources to run during the deployment process. Therefore, tests are added assuming only the scenario where the user runs them directly on their local machine.

Proposed Solution

  • Add test for init CLI
  • Fix init CLI

Alternatives Considered

No response

Scope / Dependencies

  • packages/cli/src/init

2chanhaeng avatar Oct 13 '25 06:10 2chanhaeng

@dahlia I'll take it after #444

2chanhaeng avatar Oct 13 '25 06:10 2chanhaeng

@2chanhaeng This issue has been assigned for over two weeks without updates. Please provide a status update, or unassign yourself if you're unable to continue working on it.

github-actions[bot] avatar Oct 28 '25 01:10 github-actions[bot]

I'm currently writing the test-init CLI. This CLI aims to:\

  1. Create projects based on combinations.
  2. Run a server with the generated codebase.
  3. Test communication between servers.

However, I've encountered some issues with the init CLI's operation during the first process, and I'm currently fixing them, which is delaying the work.

2chanhaeng avatar Oct 28 '25 01:10 2chanhaeng