Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement unit test for CLI #38

Open
2 tasks
rsaz opened this issue Apr 1, 2024 · 0 comments
Open
2 tasks

Implement unit test for CLI #38

rsaz opened this issue Apr 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@rsaz
Copy link
Member

rsaz commented Apr 1, 2024

Description

Add unit tests in all modules.

Current Modules:

  • application: app-container, app-factory
  • common: color-service, package-resolver, project-config
  • console: console
  • container-module
  • controller: base-controller
  • decorator: scope-binding
  • error: app-error, error-handler-middleware, report, status-code
  • middleware: middleware-resolver, middleware-service
  • provider: provider-manager, db-in-memory, dto-validator, env-validator, logger
  • render

Suggested Pattern

  • Inside of every module, add all unit tests in a folder called __tests__.
  • Unit test file names should have the suffix .spec

Image

Requirements

  • all features must have tests;
  • code coverage must pass.
@rsaz rsaz converted this from a draft issue Apr 1, 2024
@rsaz rsaz moved this to 📋 Draft in CLI (@expressots/cli) Apr 2, 2024
@rsaz rsaz added the enhancement New feature or request label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📋 Draft
Development

No branches or pull requests

1 participant