istanbul-middleware icon indicating copy to clipboard operation
istanbul-middleware copied to clipboard

Connect middleware for server side code coverage using istanbul

Results 39 istanbul-middleware issues
Sort by recently updated
recently updated
newest added

hi, please, any help will be really important to me. I have read a lot but i don´t know how to do it... in wich file write the "require("istanbul-middleware", so...

We are a UI Automation Test team and we use CodeceptJS to create acceptance tests in a web application made with Angular 1.x. We’ve been thinking about doing a Code...

istanbul is deprecated and does not support nodejs 8+ (more specifically async await) https://github.com/gotwarlost/istanbul/issues/733#issuecomment-310846820. Would it be possible to upgrade to new istanbuljs?

the getInstrumenter should be exported in handlers.js to use istanbul-middleware.getInstrumentor()

https://stackoverflow.com/questions/46038071/not-able-to-download-istanbul-report-using-istanbul-middleware

same as title https://github.com/gotwarlost/istanbul-middleware/blob/master/lib/handlers.js#L28 l want to customize routing prefix in the `opts` variable

I think this example is very good: https://github.com/gotwarlost/istanbul/issues/132 specifically this line is very important to know: `driver.executeScript("return window.__coverage__;")` Perhaps include something like this in the readme? ```js // server var...

Hey, this is looking good I am wondering if there is an async version of this block: ```js app.use(function (req, res, next) { if (isJSRequiringCoverage(req)) { var file = getFilePath(req),...

One big enhancement to this project, would be to allow to HTTP POST coverage objects to the server by ID. The most common ID I think to use would be...