Skip to content

docs: Testing-Your-Application #553

@bajtos

Description

@bajtos

Overview

Review the content of http://loopback.io/doc/en/lb4/Testing-your-application.html and update it to match the current version of http://loopback.io/doc/en/lb4/Thinking-in-LoopBack.html

Acceptance Criteria

In LoopBack.io:

  • Rewrite "Testing Your Application" to reflect the current design of loopback-next alpha, and to use the approach outlined in "Thinking in LoopBack".
  • Split the content of "Testing Your Application" into two parts:
    • "High level" items should move to "Thinking in LoopBack"
    • "Details" should remain in the "Testing Your Application" page
  • Dually link both pages to one another (to both give people a high-level overview of how testing should be implemented in their application, and exactly what is required to make it happen)
  • Review the following list, and create a story to add what's missing to "Testing your Application":
    • test your api
    • test your sequence
    • test your controllers
    • test your repositories
    • test your services
    • validate API specs
    • create mocks
    • create stubs
    • create spys

Notes

There is a PR in loopback-next-hello-world (strongloop-archive/loopback-next-hello-world#20) that you can update to validate the existing snippets used in Thinking-in-LoopBack.html (as well as test any changes you need to make to the docs!)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions