Skip to content

The testing guide does not mention where a test should be added #18774

Description

@joyeecheung

https://github.com/nodejs/node/blob/master/doc/guides/writing-tests.md

  1. It does not mention how to determine which folder a new test should go to: parallel, sequential, or any other folders under test
    2. It does not mention how the test should be named (if it's a new test script) It does
  2. It does not mention how to find existing test cases and how to decide if a new test case belongs to a new file or an existing file.

Activity

  1. added
    docIssues and PRs related to Node.js documentation.
    on Feb 14, 2018
  2. juggernaut451 commented on Feb 14, 2018

    @juggernaut451
    Contributor

    @joyeecheung could you please ellaborate when should one test be gone under parallel or any other folder?

  3. joyeecheung commented on Feb 14, 2018

    @joyeecheung
    MemberAuthor

    @juggernaut451 See https://github.com/nodejs/node/tree/master/test#test-directories. In practice, most tests go into parallel unless there is something special about them that they need to be put in other directories.

  4. juggernaut451 commented on Feb 14, 2018

    @juggernaut451
    Contributor

    I am working on this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to Node.js documentation.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions