Created
December 18, 2011 06:45
-
-
Save inish777/1492584 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t | |
t/00-load.t ....... 1/? # Testing Dancer::Plugin::Database 1.51, Perl 5.014002, /usr/bin/perl | |
t/00-load.t ....... ok | |
t/01-basic.t ...... 1/26 | |
# Failed test 'db is created' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404' | |
# expected: '200' | |
# Failed test 'GET / is found' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404' | |
# expected: '200' | |
# Failed test 'content looks good for / (3 users afiter DB initialisation)' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404 Not Found | |
# | |
# / | |
# ' | |
# expected: '(?^:3)' | |
# Failed test 'GET /user/1 is found' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404' | |
# expected: '200' | |
# Failed test 'content looks good for /user/1' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404 Not Found | |
# | |
# /user/1 | |
# ' | |
# expected: '(?^:sukria)' | |
# Failed test 'content looks good for /user/2' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404 Not Found | |
# | |
# /user/2 | |
# ' | |
# expected: '(?^:bigpresh)' | |
# Failed test 'DELETE /user/3 is ok' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404' | |
# expected: '200' | |
# Failed test 'content looks good for / (2 users after deleting one)' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404 Not Found | |
# | |
# / | |
# ' | |
# expected: '(?^:2)' | |
# Failed test 'quick_insert returned OK status' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404' | |
# expected: '200' | |
# Failed test 'quick_insert created a record successfully' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404 Not Found | |
# | |
# /user/42 | |
# ' | |
# expected: '(?^:Bob)' | |
# Failed test 'quick_select returned the record created by quick_insert' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404 Not Found | |
# | |
# /quick_select/42 | |
# ' | |
# expected: '(?^:Bob)' | |
# Failed test 'content looks good for /quick_select/1/category' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404 Not Found | |
# | |
# /quick_select/1/category | |
# ' | |
# expected: '(?^:admin)' | |
# Failed test 'content looks good for /quick_select/2/name' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404 Not Found | |
# | |
# /quick_select/2/name | |
# ' | |
# expected: '(?^:bigpresh)' | |
# Failed test 'content looks good for /quick_lookup/bigpresh' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404 Not Found | |
# | |
# /quick_lookup/bigpresh | |
# ' | |
# expected: '(?^:2)' | |
# Failed test 'Complex where clause succeeded' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404 Not Found | |
# | |
# /complex_where/42 | |
# ' | |
# expected: '(?^:Bob)' | |
# Failed test 'Complex not where clause succeeded' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404 Not Found | |
# | |
# /complex_not/42 | |
# ' | |
# expected: '(?^:sukria)' | |
# Failed test 'set operation where clause succeeded' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404 Not Found | |
# | |
# /set_op/2 | |
# ' | |
# expected: '(?^:bigpresh)' | |
# Failed test 'quick_select returns multiple records in list context' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404 Not Found | |
# | |
# /quick_select_many | |
# ' | |
# expected: '(?^x:\b bigpresh,sukria \b)' | |
# Failed test 'quick_update returned OK status' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404' | |
# expected: '200' | |
# Failed test 'quick_update updated a record successfully' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404 Not Found | |
# | |
# /user/42 | |
# ' | |
# expected: '(?^:Billy)' | |
# Failed test 'quick_delete returned OK status' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404' | |
# expected: '200' | |
# Failed test 'quick_delete deleted a record successfully' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404 Not Found | |
# | |
# /user/42 | |
# ' | |
# expected: '(?^:No such user)' | |
# Failed test 'runtime_config returned OK status' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404' | |
# expected: '200' | |
# Failed test 'runtime_config got a usable database handle' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404 Not Found | |
# | |
# /runtime_config | |
# ' | |
# expected: '(?^:ok)' | |
# Failed test 'response content is ok for GET /handles_cached' | |
# at /usr/share/perl5/site_perl/Dancer/Test.pm line 166. | |
# got: '404 Not Found | |
# | |
# /handles_cached | |
# ' | |
# expected: '(?^:Same handle returned)' | |
# Looks like you failed 25 tests of 26. | |
t/01-basic.t ...... Dubious, test returned 25 (wstat 6400, 0x1900) | |
Failed 25/26 subtests | |
t/manifest.t ...... skipped: Author tests not required for installation | |
t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.08 required for testing POD coverage | |
t/pod.t ........... ok | |
Test Summary Report | |
------------------- | |
t/01-basic.t (Wstat: 6400 Tests: 26 Failed: 25) | |
Failed tests: 1-11, 13-26 | |
Non-zero exit status: 25 | |
Files=5, Tests=30, 1 wallclock secs ( 0.05 usr 0.00 sys + 0.74 cusr 0.07 csys = 0.86 CPU) | |
Result: FAIL | |
Failed 1/5 test programs. 25/30 subtests failed. | |
make: *** [test_dynamic] Ошибка 255 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment