Skip to content

Add unit tests #88

@shoegaze

Description

@shoegaze

Purpose

As the codebase gets larger (especially with the DB support), bugs will be more frequent and the project will be harder to maintain.

Adding testing will also make it easier to track existing features as well as more reliability when it comes to implementing new features.

General Implementation

Use something orthodox like Mocha or Jest?

  1. Set up tests/ directory
  2. Add npm test script to package.json
  3. Write scaffolding
  4. Write tests

Scope

  • Commands
    • Test command generation
    • (w/ i18n) command localization etc. (low priority)
  • i18n
    • Make sure locale loading+processing is working
    • Keep track of which locales/text labels are (un)supported
  • Logging
    • Log routing
    • Log level filtering
  • DB (Future)
    • Queries (might be high? priority)

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIlint, test, build, publishbacklogSoon™

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions