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

Common test helpers #142

Closed
jasonkarns opened this issue Aug 19, 2019 · 0 comments
Closed

Common test helpers #142

jasonkarns opened this issue Aug 19, 2019 · 0 comments
Projects

Comments

@jasonkarns
Copy link
Member

jasonkarns commented Aug 19, 2019

Many of the nodenv plugins and repos require similar test setup and helpers. This issue will document the needs of each plugin so that we can unify somehow.

  • nodenv
  • node-build
  • nodenv-installer
  • nodenv-env
  • nodenv-aliases
  • nodenv-default-packages
    • bats-assert/bats-mock
    • resets nodenv_* vars
    • PATH= test/bin, plugin/bin, node_modules/bin, batsmock/bin
    • test-specific mktemp with NODENV_ROOT
    • NODENV_HOOK_PATH = source etc/
    • teardown removes tmpdir
    • custom nodenv-install fake to install nodes and trigger hooks
    • helper to create default-packages file in nodenv_root
  • nodenv-package-json-engine
  • nodenv-package-rehash
  • nodenv-npm-migrate
  • nodenv-vars
  • nodenv-man
  • nodenv-each
  • nodenv-update
  • node-build-update-defs
  • node-build-prerelease
  • node-build-jxcore
  • jetbrains-npm
  • homebrew-nodenv
@jasonkarns jasonkarns added this to In progress in nodenv Aug 19, 2019
@jasonkarns jasonkarns closed this as not planned Won't fix, can't repro, duplicate, stale May 28, 2024
nodenv automation moved this from In progress to Done May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
nodenv
  
Done
Development

No branches or pull requests

1 participant