Option to exclude some files from instrumenting #17

Closed
dmitryshimkin opened this Issue Oct 10, 2013 · 3 comments

Comments

Projects
None yet
3 participants
@dmitryshimkin

I want to exclude some files from instrumenting. I can't use 'vendors' or 'helpers' because these files should be placed in particular position in code (in my case, after instrumented code)

@robianmcd

This comment has been minimized.

Show comment
Hide comment
@robianmcd

robianmcd Oct 10, 2013

I have the same problem. I have some JavaScript files that have a lot of configuration that I can't really unit test but I need them to load after the source that I want coverage for.

I have the same problem. I have some JavaScript files that have a lot of configuration that I can't really unit test but I need them to load after the source that I want coverage for.

@robianmcd

This comment has been minimized.

Show comment
Hide comment
@robianmcd

robianmcd Oct 10, 2013

Just realized that I can include these files under specs so that they load after src but before the real specs....but this is a bit of a hack and won't work in every scenario

Just realized that I can include these files under specs so that they load after src but before the real specs....but this is a bit of a hack and won't work in every scenario

@maenu

This comment has been minimized.

Show comment
Hide comment
@maenu

maenu Feb 2, 2014

Owner

Introduced files option in v0.3.1.

Owner

maenu commented Feb 2, 2014

Introduced files option in v0.3.1.

@maenu maenu closed this Feb 2, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment