SuriGill / js-test-driver

Automatically exported from code.google.com/p/js-test-driver
0 stars 0 forks source link

JS Test Driver hangs when using Coverage plugin with ExtJS #63

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using the 1.2 release
2. Load the ext-all-debug.js file from ExtJS (I'm using version 2.3)
3. Load some tests 
4. Run JS Test Driver

What is the expected output?

* JS Test Driver should run your tests and output the results

What do you see instead?

* JS Test Driver hangs and using 100% cpu

Original issue reported on code.google.com by karl.oke...@gmail.com on 9 Nov 2009 at 5:10

GoogleCodeExporter commented 8 years ago

Original comment by karl.oke...@gmail.com on 9 Nov 2009 at 5:12

GoogleCodeExporter commented 8 years ago

Original comment by toc...@gmail.com on 9 Nov 2009 at 6:57

GoogleCodeExporter commented 8 years ago
IMHO it is instrumenting Ext sources while "hanging"... 

May be some kind of "exclude files from coverage" option is needed?

Original comment by olegelif...@gmail.com on 26 Nov 2010 at 9:24

GoogleCodeExporter commented 8 years ago
The problem seems to be that instrumenting large files is problematic. I am 
working on a project which uses Extjs. And the javascript files are 
concatenated for released (just like Extjs). However, instrumenting 100 small 
javascripts seems to be possible in 5 seconds in total, while the same 
javascript files concatenated into a single file will require >10 minutes of 
instrumenting.
Clearly the instrumenting code doesn't scale well for larger files.

Original comment by IvDo...@gmail.com on 11 Apr 2012 at 12:50