Loopback-next: Update docs: Remind users they may need to add tests

Created on 18 Nov 2018  路  2Comments  路  Source: strongloop/loopback-next

Description / Steps to reproduce / Feature proposal

  • Work through the steps to build todoList on top of todos

Current Behavior

  • If the todoList tutorial is pulled from the repo / using lb4 example it will include tests.
  • Tests are not automatically created if starting with the todo example and building todoList using lb4 controller etc

Expected Behavior

  • Update docs: Remind users they may need to add tests
  • Make it easy to add existing tests (or use this opportunity for a tutorial-within-tutorial on building tests) - see #885
Docs good first issue help wanted

All 2 comments

I agree we should improve lb4 tooling to help users to write tests for their code too. I think the following issue is pretty much covering your second point: _#885 "lb4 controller" should prepare test infrastructure_

Let's keep this issue focused on short-term improvements of our docs, i.e. _Update docs: Remind users they may need to add tests_.

@cloudwheels would you like to contribute this change yourself?

Updated title to reflect your suggestions as basis for straightforward PR - yes can take this :)
Will get myself organised to contrib asap, may need a day or two if that's OK to balance things with the real world (mucho tiempo aqui!) but no longer...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kesavkolla picture kesavkolla  路  3Comments

marioestradarosa picture marioestradarosa  路  3Comments

rexliu0715 picture rexliu0715  路  3Comments

teambitcodeGIT picture teambitcodeGIT  路  3Comments

half-blood-programmer picture half-blood-programmer  路  3Comments