What is the purpose of the internet js proxy regarding the aspect of functional testing

Question:

What is the purpose of the proxy?

There is no single direct explanation in all the documentation as to why the proxy server exists, but it seems to be an important part of the intern.js puzzle.

What is the responsibility, which of the many functional (not functioning in the test context) functions is used by the proxy and in which functions it is not used.

It just exists through several configuration options. Any clarification would be greatly appreciated.

On a side note:

intern is a great tool, but the documentation is really not enough. I would be willing to contribute to the improvement of the documentation, but first I need to get an education.

+4
source share
1 answer

The instrumental proxy is briefly described in the documentation for Running Intern . Its main purpose is to create runtime tool code to analyze code coverage. If you are doing functional testing and your test page uses JavaScript, and you want to get code coverage data, you need a software proxy.

0
source

Source: https://habr.com/ru/post/1529331/


All Articles