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

Create tests for metadata management app #79

Open
paterczm opened this issue Mar 30, 2015 · 2 comments
Open

Create tests for metadata management app #79

paterczm opened this issue Mar 30, 2015 · 2 comments

Comments

@paterczm
Copy link
Contributor

Metadata app is done in jQuery, which is rather difficult to unit test. Solutions I see right now:

  • Rewriting to AngularJS. AngularJS enforces modular structure of your application, making unit testing possible.
  • Use something like https://qunitjs.com/
  • Preparing functional tests in Darcy instead of unit tests.
@alechenninger
Copy link
Contributor

Long-term I am kinda of the persuasion that the data management and metadata management apps should not be separate... which would essentially be your first option :).

But in the meantime, with the recent integration testing work you guys have done, it might not be so bad to get some kind of embedded lightblue-rest server + arquillian deployment of the app + darcy UI tests. I would like to get something similar going with the data management app soon.

@jewzaam
Copy link
Member

jewzaam commented Mar 31, 2015

Tests using darcy would be independent of the implementation. Though that wouldn't buy anything on a rewrite as the UI would likely change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants