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

TODO: more tests #9

Open
hex13 opened this issue May 4, 2016 · 0 comments
Open

TODO: more tests #9

hex13 opened this issue May 4, 2016 · 0 comments

Comments

@hex13
Copy link
Owner

hex13 commented May 4, 2016

modules which perform actual analysis (utils for AST and plugin which analyses JavaScript) are tested
https://github.com/hex13/lupa/tree/master/plugins/test

but there are still no tests for

We must test if module analysis.js:

  1. calls correct plugins based on config and on files itself (e.g. file extensions)
  2. triggers event callbacks after analysis
  3. returns correct data (some sort of integration test. Exact data correctness is tested in tests for plugins, but even if some plugin correctly performs analysis, this doesn't mean that library returns correct data as a whole when called by external application).
hex13 pushed a commit that referenced this issue May 5, 2016
hex13 pushed a commit that referenced this issue May 5, 2016
hex13 pushed a commit that referenced this issue May 7, 2016
hex13 pushed a commit that referenced this issue May 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant