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

Add flag to require modules before running tests #224

Merged
merged 10 commits into from
Dec 23, 2015
Merged

Add flag to require modules before running tests #224

merged 10 commits into from
Dec 23, 2015

Commits on Dec 19, 2015

  1. Added rudimentary source map support

    The `source-map-support` module enables some rudimentary support
    for source maps in call stacks, which greatly enhances the
    developer experience of working with compiled code.
    mstade committed Dec 19, 2015
    Configuration menu
    Copy the full SHA
    737aa42 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2015

  1. Revert "Added rudimentary source map support"

    This reverts commit 737aa42.
    mstade committed Dec 21, 2015
    Configuration menu
    Copy the full SHA
    3f02033 View commit details
    Browse the repository at this point in the history
  2. This implements -r and --require as command line options

    @Raynos accurately pointed out that the source map support was a
    bit too specific, and felt outside of the purview of tape.
    As a more general solution, this implements the `-r` and `--require`
    CLI flags, which will allow a user to load node modules before any
    tests are run. For example, if someon wants to enable source map
    support in node, they might do:
    
        tape -r source-map-support/register test/*.js
    mstade committed Dec 21, 2015
    Configuration menu
    Copy the full SHA
    7ae60f5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4f81dbc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d0ca885 View commit details
    Browse the repository at this point in the history
  5. Add -r,--require documentation to README.md

    This can probably be done better, but I think it covers all aspects
    of this feature.
    mstade committed Dec 21, 2015
    Configuration menu
    Copy the full SHA
    096d2e7 View commit details
    Browse the repository at this point in the history
  6. Fix indent mistake

    mstade committed Dec 21, 2015
    Configuration menu
    Copy the full SHA
    2e57f22 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ffa503a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4077efe View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9f02249 View commit details
    Browse the repository at this point in the history