You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.use(cover)
if it's an entry instrument it
if it's a local deep of an entry like ./local.js instrument it.
profit
—
Reply to this email directly or view it on GitHub.
i don't think we should instrument in duo-test, it defeats the purpose of it being simple to configure.
instead i propose we add --cover <entry.js> to duo itself, duo will then instrument using a utility and expose a global like __cover__ or something that duo test can utilize to show stats / render.
don't think so :( there's the case were we do stuff like duo test.js > build.js and run the tests,
so instead we would do duo test.js --cover index.js > build.js.
Activity
stephenmathieson commentedon Jul 7, 2014
yes please
yields commentedon Jul 9, 2014
i don't think we should instrument in duo-test, it defeats the purpose of it being simple to configure.
instead i propose we add
--cover <entry.js>to duo itself, duo will then instrument using a utility and expose a global like__cover__or something that duo test can utilize to show stats / render.any thoughts / feedback are welcome!
@matthewmueller
matthewmueller commentedon Jul 9, 2014
any chance it could be a separate script and run under
duo cover <entry>?yields commentedon Jul 9, 2014
don't think so :( there's the case were we do stuff like
duo test.js > build.jsand run the tests,so instead we would do
duo test.js --cover index.js > build.js.stephenmathieson commentedon Oct 30, 2014
any updates here? this would be super useful right now