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

docs: Testing-Your-Application #553

Closed
bajtos opened this issue Aug 30, 2017 · 4 comments
Closed

docs: Testing-Your-Application #553

bajtos opened this issue Aug 30, 2017 · 4 comments
Assignees

Comments

@bajtos
Copy link
Member

bajtos commented Aug 30, 2017

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!)

@bajtos bajtos self-assigned this Aug 30, 2017
@bajtos
Copy link
Member Author

bajtos commented Oct 9, 2017

This is blocked by loopbackio/loopback.io#475, which is making quite a lot of changes in pages we are going to rework.

@bajtos
Copy link
Member Author

bajtos commented Oct 13, 2017

test your services

Let's write this content as part of "Guide: Services" - see #451.

@bajtos bajtos added review and removed in-progress labels Oct 13, 2017
@bajtos
Copy link
Member Author

bajtos commented Oct 16, 2017

Another follow-up story: #648 Write a better advice on testing custom sequences

@bajtos bajtos closed this as completed Oct 16, 2017
@bajtos bajtos removed the review label Oct 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants