arduino-based decoder for Oregon Scientific weather station
Polygon and line clipping and offsetting library
diy home automation
A simple, lightweight jQuery plugin for reading, writing and deleting cookies
Cactusbone/Bootstrap-3-Typeahead 0
The Typeahead plugin from Twitter's Bootstrap 2 ready to use with Bootstrap 3 and Bootstrap 4
Cactusbone/bootstrap-datepicker 0
A datepicker for @twitter bootstrap forked from Stefan Petre's (of eyecon.ro), improvements by @eternicode
A cleaner simpler logger
Caterpillar is the ultimate logging system for Node.js, based on transform streams you can log to it and pipe the output off to different locations, including some pre-made ones. Caterpillar also supports log levels according to the RFC standard, as well as line, method, and file fetching for messages.
Docker powered mini-Heroku in around 100 lines of Bash
Inject node/npm packages into dokku with any buildpack (python, ruby, etc).
issue closednightwatchjs/nightwatch
Add new browser / close browser hooks for code coverage
Description
To use code coverage using v8 (and c8), we need to use chrome devtools protocol
https://chromedevtools.github.io/devtools-protocol/tot/Profiler/
For exemple commands Profiler.startPreciseCoverage
and Profiler.takePreciseCoverage
To get full coverage, the Profiler.startPreciseCoverage
must be sent before any navigation occurs, and to avoid losing coverage, the Profiler.takePreciseCoverage
must be used before the browser is closed.
Currently, I did not find hooks to do that (I could not get the nearly documented onBrowserNavigate
and onBrowserQuit
to work, however onBrowserNavigate
name imply it would happen too late).
First, is there an option to have the "documented" hooks onBrowserNavigate
and onBrowserQuit
to work ?
Second, anything that would prevent this feature from coming out (can I work on a PR ?)
Thanks a lot.
Suggested solution
No response
Alternatives / Workarounds
No response
Additional Information
No response
closed time in a month
Cactusboneissue commentnightwatchjs/nightwatch
Add new browser / close browser hooks for code coverage
onBrowserQuit
does not seem to be called when the test suite ends. easy workaround though, call it in afterEach.
and indeed onBrowserNavigate
seems to work, my problem being that I was not using navigateTo
, and using browser.url instead
For code coverage to work, having reliable hooks is best ;) I'll look into the plugin way, however I'll probably have the exact same issues where calling another method skips the event (like url
instead of navigateTo
)
comment created time in a month
issue commentbrianc/node-postgres
Compression of data returned from query
I'm also looking into compression from postgresql (yes, I'm now bound by network bandwidth due to huge amount of text being transferred).
There is a sslcompression
parameter that can be used (in libpq), however, documentation states
PostgreSQL 14 disables compression completely in the backend.
so yes, the issue is not with the node client, but with postgresql backend :)
That being said, I'm not sure sslcompression
could be used with node-postgres
, It's not in the documentation.
comment created time in a month
issue commentnightwatchjs/nightwatch
Add new browser / close browser hooks for code coverage
Yeah, I found as much from the docs. I'll try to make a small project to exhibit the issue :)
comment created time in 2 months
issue commentnightwatchjs/nightwatch
Add new browser / close browser hooks for code coverage
I simply added logs in them and they do not show up in the output, whereas logs in beforeEach
and afterEach
do.
Is there any prerequisites ?
comment created time in 2 months
issue commentbcoe/c8
Accept coverage info, collected from the browser
Yes, it works !
I had to save both the bundles and its map at the root of the projet, and add the bundles to my include
section too.
However, with or without excludeAfterRemap, I get 100% coverage (just like the issue you opened about excludeAfterRemap
). I'll look into it :)
comment created time in 2 months
issue commentbcoe/c8
Accept coverage info, collected from the browser
@prantlf Thanks a lot ! This is what I was missing :)
Since we're not storing either the bundles nor the sources on the filesystem, It wasn't working for me (and the raw script coverage
mentions in this ticket misled me). I'll see what I can do (either store them on the filesystem, or inline them using "source-map-cache").
comment created time in 2 months
issue commentbcoe/c8
Accept coverage info, collected from the browser
Hello ! I'm trying to get c8 to report coverage from Nightwatch.js
From what I understand in this issue, what's missing is the sourcemap from url to local files.
From the first post, I believe the source-map-cache
may be missing, however I do have a result
property is the data from Chrome browser.
First of all, should I create a new ticket for that ?
What would be the best way to get that sourcemap ?
I'm thinking of two ways, either I listen to Debugger.scriptParsed events from devtools-protocol, and use the sourceMapURL to match the scriptId. Or I redownload the sources using url
in coverage output.
Does this looks like a good way to get usage coverage ? Am I missing something ? any tips ?
Thanks!
comment created time in 2 months
PR opened logstash-plugins/logstash-input-gelf
Fixes #24
See #46
pr created time in 3 months
PR opened logstash-plugins/logstash-input-gelf
See #47
pr created time in 3 months