Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Created March 16, 2017 12:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoffixznet/4284b808e0efd321c21146bab5ab6221 to your computer and use it in GitHub Desktop.
Save zoffixznet/4284b808e0efd321c21146bab5ab6221 to your computer and use it in GitHub Desktop.
cpan@ecosystem-test:~/.zef/store/perl6-Testing.git/8d9a4de145bfe79a7dad2f04f7edc35ac4c6239c$ prove -e 'perl6 -Ilib' -vlr t
t/fake_input.t ..
# Fake line-by-line...
ok 1 - Faking first line
ok 2 - Faking second line
ok 3 - Faking third line
ok 4 - Faking EOF
# Fake reading all lines...
Cannot resolve caller splice(Array: Int, Array); none of these signatures match:
(Array:D \SELF: *%_)
(Array:D $: Whatever, *%_)
(Array:D $: Callable:D $offset, *%_)
(Array:D $: Int:D $offset, *%_)
(Array:D $: Whatever, Whatever, *%_)
(Array:D $: Whatever, Int:D $size, *%_)
(Array:D $: Whatever, Callable:D $size, *%_)
(Array:D $: Callable:D $offset, Callable:D $size, *%_)
(Array:D $: Callable:D $offset, Whatever, *%_)
(Array:D $: Callable:D $offset, Int:D $size, *%_)
(Array:D $: Int:D $offset, Whatever, *%_)
(Array:D $: Int:D $offset, Callable:D $size, *%_)
(Array:D $: Int:D $offset, Int:D $size, *%_)
(Array:D $: Whatever $offset, Whatever $size, **@new, *%_)
(Array:D $: Whatever $offset, Callable:D $size, **@new, *%_)
(Array:D $: Whatever $offset, Int:D $size, **@new, *%_)
(Array:D $: Callable:D $offset, Whatever $size, **@new, *%_)
(Array:D $: Callable:D $offset, Callable:D $size, **@new, *%_)
(Array:D $: Callable:D $offset, Int:D $size, **@new, *%_)
(Array:D $: Int:D $offset, Whatever $size, **@new, *%_)
(Array:D $: Int:D $offset, Callable:D $size, **@new, *%_)
(Array:D $: Int:D $offset, Int:D $size, **@new, *%_)
(Array:D $: Whatever, Whatever, @new, *%_)
(Array:D $: Whatever, Int:D $size, @new, *%_)
(Array:D $: Whatever, Callable:D $size, @new, *%_)
(Array:D $: Callable:D $offset, Callable:D $size, @new, *%_)
(Array:D $: Callable:D $offset, Whatever, @new, *%_)
(Array:D $: Callable:D $offset, Int:D $size, @new, *%_)
(Array:D $: Int:D $offset, Whatever, @new, *%_)
(Array:D $: Int:D $offset, Callable:D $size, @new, *%_)
(Array:D $: Int:D $offset, Int:D $size, @new, *%_)
in method lines at /home/cpan/.zef/store/perl6-Testing.git/8d9a4de145bfe79a7dad2f04f7edc35ac4c6239c/lib/Testing.pm (Testing) line 73
in block <unit> at t/fake_input.t line 16
1..4
Dubious, test returned 1 (wstat 256, 0x100)
All 4 subtests passed
t/metatest.t ....
#
# Basic tests...
ok 1 - Number match
ok 2 - String match
ok 3 - Regex match
ok 4 - Range match
ok 5 - Block match
ok 6 - Placeholder match
ok 7 - Whatever match
ok 8 - WhateverCode match
#
# Negative tests...
ok 9 - Number mismatch
ok 10 - String mismatch
ok 11 - Regex mismatch
ok 12 - Range mismatch
ok 13 - Block mismatch
ok 14 - Placeholder mismatch
ok 15 - WhateverCode mismatch
#
# One-arg negative tests...
ok 16 - Number mismatch
ok 17 - String mismatch
ok 18 - Regex mismatch
ok 19 - Range mismatch
ok 20 - Block mismatch
ok 21 - Placeholder mismatch
ok 22 - WhateverCode mismatch
#
# Test skipping behaviour...
ok 23 - Skipping # SKIP Test of 2-arg OK skipping
ok 24 - Skipping # SKIP Test of 1-arg OK skipping
#
# Test todo behaviour...
ok 25 - ToDoing matching # TODO Test of todoing
not ok 26 - ToDoing failing # TODO Test of todoing
# at /home/cpan/.zef/store/perl6-Testing.git/8d9a4de145bfe79a7dad2f04f7edc35ac4c6239c/lib/Testing.pm (Testing) line 31
# have: "a"
# want: "b"
ok 27 - ToDoing 1-arg failing # TODO Test of todoing
not ok 28 - ToDoing 1-arg matching # TODO Test of todoing
# at /home/cpan/.zef/store/perl6-Testing.git/8d9a4de145bfe79a7dad2f04f7edc35ac4c6239c/lib/Testing.pm (Testing) line 31
# have: Bool::False
1..28
ok
t/skip.t ........
1..0 # Skipped: Metatesting SKIP
skipped: Metatesting SKIP
Test Summary Report
-------------------
t/fake_input.t (Wstat: 256 Tests: 4 Failed: 0)
Non-zero exit status: 1
t/metatest.t (Wstat: 0 Tests: 28 Failed: 0)
TODO passed: 25, 27
Files=3, Tests=32, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.80 cusr 0.10 csys = 0.93 CPU)
Result: FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment