facebook

Allow running single spec file with Karma

  1. CodeMix & Angular IDE
  2.  > 
  3. Webclipse 1.x Help
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #520496 Reply

    Fedor Losev
    Participant

    Single file builds/reloads are much faster and many times it infinitely more handy than using karma fit or grep.

    While karma does not support this, it is possible, for example, to generate configuration js and test ts to run single file and implement in Run As / Karma Spec.

    #520499 Reply

    Fedor Losev
    Participant

    Implementing dynamically generated karma configuration and IDE integration would also allow adding awesome features, for example quickly run from IDE ng test with either PhantomJS or Chrome.

    Another thing (which is already implemented by WebStorm btw) is JUnit like view for Karma tests. It should be not complicated as Karma can be configured to generate JUnit xml, once dynamic configuration is implemented the only thing to figure out is source navigation/location.

    #520616 Reply

    support-tony
    Keymaster

    Fedor,

    Thanks for the suggestion and for using Webclipse. We do have tentative plans for adding support to run tests but there is no schedule or detail on that yet.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Allow running single spec file with Karma

You must be logged in to post in the forum log in