3 Replies Last post: Dec 10, 2013 6:32 AM by Youth Overturn  
Youth Overturn Newbie 50 posts since
Feb 21, 2013
Currently Being Moderated

Dec 9, 2013 2:26 PM

May I quicken jasmine test in webstorm?

Hello:

    I feel the speed of jasmine test is ver slow. It tooks 12s to execute two test cases... Is it my config error or other reasons?

jasmine.png

 

jstd.png

 

Best Regards,

Youth

Elena Pogorelova Apprentice 911 posts since
Oct 5, 2011
Currently Being Moderated
Dec 9, 2013 2:51 PM in response to: Youth Overturn
Re: May I quicken jasmine test in webstorm?

Hello!

 

- is the performance the same on each run, or does it differ?

- make sure that the captured browser tab is the topmost (active) - if the tab where the tests are being run is not active, execution slows down sugnificantly

- can you check the time needed to perform the same tests from cmd console (i.e. not from WebStorm)?

   - start server using java -jar /path/to/Webstorm/plugins/JsTestDriver/lib/JsTestDriver-1.3.5-patched.jar --port=9876
   - capture the browser (open http://localhost:9876/capture)
   - cd to your project root dir and execute: java -jar  /path/to/Webstorm/plugins/JsTestDriver/lib/JsTestDriver-1.3.5-patched.jar   --config=your_jsTestDriver.conf --tests=all  --server=http://localhost:9876

More Like This

  • Retrieving data ...