Skip to content

Multiple test files? #66

Closed
Closed

Description

@shadowspawn

Light question. Does the current testing infrastructure using tape and c8 support multiple test files, without writing a test runner? e.g. adding test/multiple.js


I have not previously used tape or c8. After some research and experimentation I found this appears to work on Mac, but I am not sure about Windows. (Or whether it is actually doing what I intend! 🤔).

npx c8 tape test/*.js

Activity

  1. ljharb commented on Feb 24, 2022

    @ljharb
    Member

    Yes, tape supports multiple files - altho paths with asterisks need to be quoted to prevent the shell interpreting them first.

  2. shadowspawn commented on Feb 27, 2022

    @shadowspawn
    CollaboratorAuthor

    Thanks. Used multiple test files in #68

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions