zenika-open-source/FAQ

Add tests

オープン

#138 opened on 2018/11/17

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (16 件のフォーク)auto 404
discussionhelp wantedpriority/medium

Repository metrics

Stars
 (63 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド