Closed andres-blanco closed 4 years ago
Totals | |
---|---|
Change from base Build 213: | 0.0% |
Covered Lines: | 268 |
Relevant Lines: | 268 |
Without having looked into any of the code, I would ask for 100% coverage. The package had it so far, and I think 2.4% are feasible. Also check the discussion here: https://github.com/vbuch/node-signpdf/issues/25
I've made some modifications, I am working on getting the coverage back to 100%
Nice! I'll give it a rry tomorrow and if I don't have remarks, will merge
Lately i didn't have much time, so thank you guys for fixing these bugs / typos. As soon as i have available time, i'll start working on adding configurable images and texts to digital signatures.
I think there is only one thing that needs to be done here before it gets merged. That is: I want to see some tests of the readRefTable function. This would be mostly "in-depth code review" with some written code. Some testing. Nothing too much in detail. Maybe just snapshot testing of the current
resources
? Just making sure there are no regressions in future. Whatever you guys think would suffice.
Great, I'll see what I can do. I think tomorrow I will be able to sit down with this.
I've added some basic tests to prevent regressions on readRefTable. I wont be able to write deeper tests on this function since I am not that familiar with the xref table of pdf files. Let me know if you think this is enough
I just reused your test @andres-blanco and took a snapshot of the ref tables of all the pdfs available in the resources dir. I think that will save us from regressions. I will merge this in the develop branch of vbuch/node-signpdf but won't release it yet. Will do that later today or tomorrow because I need to check something first.
Thank you all for the contribution! @andres-blanco @therpobinski @vizicsaba89
It seems like @vizicsaba89 rebased the commits on develop: https://github.com/vizicsaba89/node-signpdf I've made a fork here https://github.com/SIU-Toba/node-signpdf/ rebasing the changes from vizicsaba89 onto your updated develop branch. I'm interested in this feature, so if there are any fixes to be done count me in.