manwar / Crypt-Image

Interface to hide text into an image.
https://metacpan.org/release/Crypt-Image
Artistic License 2.0
3 stars 1 forks source link

Smoke tests for Crypt::Image module based on sparrow crypt-image-smoke plugin #1

Closed melezhik closed 6 years ago

melezhik commented 7 years ago

Hi Mohammad! This is simple smoke tests for your Crypt::Image module, example Travis job is here - https://travis-ci.org/melezhik/Crypt-Image/builds/180518462

There are actually 2 tests here but made in sparrow ( black box testing ) manner:

  1. create a crypted image file and then decrypt it and check if we get required string in ( /modules/decrypt case )
  2. create a crypted image file and check if it differ from original by issuing diff command

The source code of crypt-image-smoke sparrow plugin could be found here - https://github.com/melezhik/crypt-image-smoke , actually it is very simple to understand ( just a couple of bash scripts )