Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-7895

Web console: revise unit tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.5
    • wizards
    • None

    Description

      The issue:
      Current web console unit tests run inside Karma and PhantomJS, but this setup adds unnecessary overhead of running simple JS inside browser instead of NodeJS. We can alter the setup in order reduce the overhead, but I think we can also use current setup to unit test AngularJS directives which might require the browser environment.

      What to do:
      Investigate AngularJS directive/component unit tests, see if it can run in NodeJS or it requires the browser as a runtime environment. If component unit tests can run in NodeJS, simplify the setup so all unit tests run in it. If component unit tests can only run in browser, add a sample component/directive unit test, we should really write more of those.

      Attachments

        Issue Links

          Activity

            People

              kuaw26 Alexey Kuznetsov
              alexdel Alexander Kalinin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: