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
{{ message }}
Repository navigation
When developing, it is difficult to run a single test spec #1016
Running npm test will re-compile all files as it uses node-gyp rebuild. We can simplify this to compile only modified files by using node-gyp build -- however, modifying the napi[-inl].h file will consider all test specs as modified.
It would be helpful if we could have some way to compile + run only one test spec, such that only the relevant .cc file for that spec (as well as the overall binding) are compiled.
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.
@deepakrkris the only question I have is if how to run a single test is documented somewhere? If so could you add the link here and then I think we can close.
Activity
deepakrkris commentedon Jul 2, 2021
I am working on this story
github-actions commentedon Oct 1, 2021
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.
github-actions commentedon Jan 11, 2022
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.
github-actions commentedon May 4, 2022
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.
deepakrkris commentedon May 5, 2022
@KevinEady @mhdawson I believe this can be closed for now, since we had some work on this and merged a PR
mhdawson commentedon May 6, 2022
@deepakrkris the only question I have is if how to run a single test is documented somewhere? If so could you add the link here and then I think we can close.
deepakrkris commentedon Aug 12, 2022
@mhdawson I think that is not documented. let me bring this up in our weekly meeting today. I can add in a readme or in a wiki
mhdawson commentedon Aug 17, 2022
@deepakrkris thanks, I think adding to the Readme would be a good way to go. I was out last week but will be there this week.
deepakrkris commentedon Aug 19, 2022
@mhdawson doc PR : #1199
mhdawson commentedon Aug 19, 2022
@deepakrkris thanks landed that PR closing this. Many thanks for your work on making testing easier.