zenika-open-source/FAQ

Add tests

开放

#138 创建于 2018年11月17日

 (0 条评论) (0 个反应) (0 位负责人)JavaScript (16 个派生)auto 404
discussionhelp wantedpriority/medium

仓库指标

星标
 (63 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Is your feature request related to a problem? Please describe. As more and more functionalities are implemented in the project, we need to implement tests to assure the application is working as expected.

Describe the solution you'd like Following the project architecture, we want to test the following parts (and sub-parts) of our application

  • Client
    • Shared components: Snapshots & unit tests
    • Helpers: Unit tests
    • Scenes: End to end tests
    • Services: Mocking + unit tests ?
  • Server
    • Resolvers: Mocking + unit tests ?
    • Helpers: Unit tests
    • Integrations: Mocking + unit tests ?

Some useful links: https://github.com/APIs-guru/graphql-faker

Additional context As writing tests are often considered (wrongly) as a misuse of a developer's time, we need to favor the DX (developer experience): Writing a new test should be as simple as possible.

贡献者指南