Document meta information

Key Value
Hostnameaffenschaukel
TimeFri Feb 5 10:33:18 2016
Command/usr/local/bin/pherkin -o Html features/

Summary

Status Count
Passed22
Failed0
Pending0
Skipped0

Table of Content

Simple tests of Digest.pm (features/basic.feature)

As a developer planning to use Digest.pm
I want to test the basic functionality of Digest.pm
In order to have confidence in it

Check MD5

Test Output:

ok 1 - Starting to execute step: a usable "Digest" class
ok 2 - use Digest;
1..2

Test Output:

ok 1 - Starting to execute step: a Digest MD5 object
ok 2 - Object created
1..2

Test Output:

ok 1 - Starting to execute step: I've added "foo bar baz" to the object
1..1

Test Output:

ok 1 - Starting to execute step: I've added "bat ban shan" to the object
1..1

Test Output:

ok 1 - Starting to execute step: the hex output is "bcb56b3dd4674d5d7459c95e4c8a41d5"
ok 2
1..2

Test Output:

ok 1 - Starting to execute step: the base64 output is "1B2M2Y8AsgTpgAmY7PhCfg"
ok 2
1..2

Check SHA-1

Test Output:

ok 1 - Starting to execute step: a usable "Digest" class
ok 2 - use Digest;
1..2

Test Output:

ok 1 - Starting to execute step: a Digest SHA-1 object
ok 2 - Object created
1..2

Test Output:

ok 1 - Starting to execute step: I've added "foo" to the object
1..1

Test Output:

ok 1 - Starting to execute step: the hex output is "0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33"
ok 2
1..2

Check SHA-1

Test Output:

ok 1 - Starting to execute step: a usable "Digest" class
ok 2 - use Digest;
1..2

Test Output:

ok 1 - Starting to execute step: a Digest SHA-1 object
ok 2 - Object created
1..2

Test Output:

ok 1 - Starting to execute step: I've added "bar" to the object
1..1

Test Output:

ok 1 - Starting to execute step: the hex output is "62cdb7020ff920e5aa642c3d4066950dd1f01f4d"
ok 2
1..2

Check SHA-1

Test Output:

ok 1 - Starting to execute step: a usable "Digest" class
ok 2 - use Digest;
1..2

Test Output:

ok 1 - Starting to execute step: a Digest SHA-1 object
ok 2 - Object created
1..2

Test Output:

ok 1 - Starting to execute step: I've added "baz" to the object
1..1

Test Output:

ok 1 - Starting to execute step: the hex output is "bbe960a25ea311d21d40669e93df2003ba9b90a2"
ok 2
1..2

MD5 longer data

Test Output:

ok 1 - Starting to execute step: a usable "Digest" class
ok 2 - use Digest;
1..2

Test Output:

ok 1 - Starting to execute step: a Digest MD5 object
ok 2 - Object created
1..2

Test Output:

ok 1 - Starting to execute step: I've added the following to the object
1..1

Example Data:

Here is a chunk of text that works a bit like a HereDoc. We'll split
off indenting space from the lines in it up to the indentation of the
first """

Test Output:

ok 1 - Starting to execute step: the hex output is "75ad9f578e43b863590fae52d5d19ce6"
ok 2
1..2