Skip to content

Commit 363a345

Browse files
committed
link to hexdump-zip
1 parent 6fbfef9 commit 363a345

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -836,3 +836,11 @@ The zip file specification has several ambiguities inherent in its design. Yikes
836836
* Fix bug with using `iconv`.
837837
* 2.0.0
838838
* Initial release.
839+
840+
## Development
841+
842+
One of the trickiest things in development is crafting test cases located in `test/{success,failure}/`.
843+
These are zip files that have been specifically generated or design to test certain conditions in this library.
844+
I recommend using [hexdump-zip](https://github.com/thejoshwolfe/hexdump-zip) to examine the structure of a zipfile.
845+
846+
For making new error cases, I typically start by copying `test/success/linux-info-zip.zip`, and then editing a few bytes with a hex editor.

0 commit comments

Comments
 (0)