YahooArchive / arrow

FE Test framework designed to promote TDD
http://yahoo.github.io/arrow/arrow_intro.html
BSD 3-Clause "New" or "Revised" License
55 stars 59 forks source link

Proxy for client side coverage collect #97

Closed liangji101 closed 11 years ago

liangji101 commented 11 years ago

Changes:

  1. change routerProxyConfig -> proxyConfig , move router config to "router" and add field "coverage" for client side coverage. Details:
  2. if client side code coverage set to true, then proxy will rewrite html by injecting some script to detect the test status. if test done (by check Arrow.testReport or check from proxy server) ,it will send back all coverage data. 2.big coverage data are send to proxy by xmlHttpRequest to avoid selenium server stack overflow. 3.Proxy server add handler for cross-domian problem. other info are in docs/arrow_cookbook/arrow_in-depth/Code Coverage
liangji101 commented 11 years ago

hi Pranav, i have changed back to "routerProxyConfig",please review again,thanks.