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

Improve testing #2

Open
andyfry01 opened this issue Feb 27, 2018 · 0 comments
Open

Improve testing #2

andyfry01 opened this issue Feb 27, 2018 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@andyfry01
Copy link
Owner

Numerous things can stand to be improved in terms of testing:

  1. Tests are currently written in one big file (spec.js), but would be easier to manage across multiple files.
  2. Currently when running tests, and especially when using a mocha watch script, the test runner opens tons of DB connections, which can overload MongoDB and cause problems, requiring manually stopping and restarting the DB server.
  3. Testing asynchronous parts of the code can be problematic, requiring hackey workarounds that are not CI-friendly and produce unreliable test results (for example, see here).
@andyfry01 andyfry01 added enhancement New feature or request help wanted Extra attention is needed labels Feb 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant