Created
December 2, 2011 14:32
-
-
Save dpetrov/1423428 to your computer and use it in GitHub Desktop.
CPAN-API tests
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
[dpetrov@pc335: ~/catalyst/cpan-api]$ prove -lvr t | |
t/document/author.t .................. | |
ok 1 - perlmongers ok | |
1..1 | |
ok | |
t/document/file.t .................... | |
ok 1 | |
ok 2 | |
ok 3 | |
ok 4 | |
ok 5 | |
ok 6 | |
ok 7 | |
ok 8 | |
ok 9 | |
ok 10 | |
ok 11 | |
ok 12 - indexed | |
ok 13 | |
ok 14 | |
ok 15 - 8 lines of code | |
ok 16 - 4 lines of pod | |
ok 17 - not indexed | |
ok 18 | |
ok 19 | |
ok 20 - correct pod_lines | |
ok 21 - numified version has been calculated | |
ok 22 | |
ok 23 | |
ok 24 - POD in __DATA__ section | |
ok 25 | |
1..25 | |
ok | |
t/fakecpan.t ......................... | |
ok 1 - connect to es | |
ok 2 - put mapping | |
ok 3 - remove old fakecpan | |
ok 4 - make fake cpan | |
ok 5 - index fakecpan | |
ok 6 - latest | |
ok 7 - index authors | |
You are running Catalyst::Engine::PSGI, which is considered a legacy engine for | |
this version of Catalyst. We will continue running and use your existing psgi | |
file, but it is recommended to perform the trivial upgrade process, which will | |
leave you with less code and a forward path. | |
Please review Catalyst::Upgrading | |
Useless use of a constant in void context at t/server/controller/author.t line 29. | |
# ******** running tests for t/release/documentation-hide.t ******** | |
ok 8 - name ok | |
ok 9 - author ok | |
ok 10 - Release is first | |
ok 11 - includes one file with modules | |
ok 12 - file contains one module | |
ok 13 - module name ok | |
ok 14 - documentation ok | |
ok 15 - two files with documentation | |
# ok - t/release/documentation-hide.t (1 out of 11) | |
# ******** running tests for t/release/scripts.t ******** | |
ok 16 - name ok | |
ok 17 - author ok | |
ok 18 - version ok | |
ok 19 - four scripts found | |
ok 20 - two with documentation | |
ok 21 - what is to be expected | |
# ok - t/release/scripts.t (2 out of 11) | |
# ******** running tests for t/release/some-trial.t ******** | |
ok 22 - name ok | |
ok 23 - version with trial suffix | |
# ok - t/release/some-trial.t (3 out of 11) | |
# ******** running tests for t/server/controller/author.t ******** | |
env as a writer is deprecated, you probably need to upgrade Catalyst::Engine::PSGI at /usr/local/share/perl/5.10.1/Catalyst/Engine.pm line 27. | |
ok 24 - GET /author | |
not ok 25 - code 200 | |
# Failed test 'code 200' | |
# at t/server/controller/author.t line 17. | |
# got: '500' | |
# expected: '200' | |
not ok 26 - Content-type | |
# Failed test 'Content-type' | |
# at t/server/controller/author.t line 18. | |
# got: 'text/plain; charset=UTF-8' | |
# expected: 'application/json; charset=utf-8' | |
not ok 27 - valid json | |
# Failed test 'valid json' | |
# at t/server/controller/author.t line 22. | |
ok 28 - GET /author/DOESNEXIST | |
ok 29 - code 404 | |
ok 30 - Content-type | |
ok 31 - valid json | |
ok 32 - GET /author/MO | |
ok 33 - code 200 | |
ok 34 - Content-type | |
ok 35 - valid json | |
ok 36 - pauseid is MO | |
ok 37 - GET /author/_mapping | |
ok 38 - code 200 | |
ok 39 - Content-type | |
ok 40 - valid json | |
ok 41 - _mapping | |
ok 42 - Content-type | |
ok 43 - includes jsonp callback | |
ok 44 - POST _search | |
ok 45 - valid json | |
ok 46 - 0 results | |
# not ok - t/server/controller/author.t (4 out of 11) | |
not ok 47 - Error running (t/server/controller/author.t): | |
# Failed test 'Error running (t/server/controller/author.t): ' | |
# at /usr/local/share/perl/5.10.1/Test/Aggregate.pm line 382. | |
# ******** running tests for t/server/controller/diff.t ******** | |
ok 48 - GET /diff/Moose | |
ok 49 - code 200 | |
ok 50 - valid json | |
ok 51 - GET /diff/Moose/DOY... | |
ok 52 - code 200 | |
ok 53 - valid json | |
ok 54 - json matches with previous run | |
ok 55 - GET diff Moose.pm | |
ok 56 - code 200 | |
ok 57 - valid json | |
# ok - t/server/controller/diff.t (5 out of 11) | |
# ******** running tests for t/server/controller/file.t ******** | |
ok 58 - GET /file/DOES/Not/Exist.pm | |
ok 59 - code 404 | |
ok 60 - Content-type | |
ok 61 - valid json | |
ok 62 - GET /file | |
not ok 63 - code 200 | |
# Failed test 'code 200' | |
# at t/server/controller/file.t line 19. | |
# got: '500' | |
# expected: '200' | |
not ok 64 - Content-type | |
# Failed test 'Content-type' | |
# at t/server/controller/file.t line 20. | |
# got: 'text/plain; charset=UTF-8' | |
# expected: 'application/json; charset=utf-8' | |
not ok 65 - valid json | |
# Failed test 'valid json' | |
# at t/server/controller/file.t line 24. | |
not ok 66 - got total count | |
# Failed test 'got total count' | |
# at t/server/controller/file.t line 25. | |
ok 67 - GET /file/8yTixXQGpkbPsMBXKvDoJV4Qkg8 | |
ok 68 - code 200 | |
ok 69 - Content-type | |
ok 70 - valid json | |
ok 71 - Moose.pm | |
ok 72 - GET /file/DOY/Moose-0.01/lib/Moose.pm | |
ok 73 - code 200 | |
ok 74 - Content-type | |
ok 75 - valid json | |
ok 76 - Moose.pm | |
ok 77 - GET /file/DOESNEXIST | |
ok 78 - code 404 | |
ok 79 - Content-type | |
ok 80 - valid json | |
# not ok - t/server/controller/file.t (6 out of 11) | |
not ok 81 - Error running (t/server/controller/file.t): | |
# Failed test 'Error running (t/server/controller/file.t): ' | |
# at /usr/local/share/perl/5.10.1/Test/Aggregate.pm line 382. | |
# ******** running tests for t/server/controller/mirror.t ******** | |
ok 82 - GET /mirror | |
not ok 83 - code 200 | |
# Failed test 'code 200' | |
# at t/server/controller/mirror.t line 16. | |
# got: '500' | |
# expected: '200' | |
not ok 84 - Content-type | |
# Failed test 'Content-type' | |
# at t/server/controller/mirror.t line 17. | |
# got: 'text/plain; charset=UTF-8' | |
# expected: 'application/json; charset=utf-8' | |
not ok 85 - valid json | |
# Failed test 'valid json' | |
# at t/server/controller/mirror.t line 21. | |
ok 86 - GET /mirror/_search?q=* | |
ok 87 - code 200 | |
ok 88 - Content-type | |
ok 89 - valid json | |
ok 90 - GET /mirror/DOESNEXIST | |
ok 91 - code 404 | |
ok 92 - Content-type | |
ok 93 - valid json | |
# not ok - t/server/controller/mirror.t (7 out of 11) | |
not ok 94 - Error running (t/server/controller/mirror.t): | |
# Failed test 'Error running (t/server/controller/mirror.t): ' | |
# at /usr/local/share/perl/5.10.1/Test/Aggregate.pm line 382. | |
# ******** running tests for t/server/controller/module.t ******** | |
ok 95 - GET /module/Moose | |
ok 96 - code 200 | |
ok 97 - Content-type | |
ok 98 - valid json | |
ok 99 - Moose.pm | |
ok 100 - GET /module/DOY/Moose-0.01/lib/Moose.pm | |
ok 101 - code 200 | |
ok 102 - Content-type | |
ok 103 - valid json | |
ok 104 - Moose.pm | |
ok 105 - GET /module/DOES/Not/Exist.pm | |
ok 106 - code 404 | |
ok 107 - Content-type | |
ok 108 - valid json | |
ok 109 - GET /module/DOESNEXIST | |
ok 110 - code 404 | |
ok 111 - Content-type | |
ok 112 - valid json | |
ok 113 - GET /module | |
not ok 114 - code 200 | |
# Failed test 'code 200' | |
# at t/server/controller/module.t line 19. | |
# got: '500' | |
# expected: '200' | |
not ok 115 - Content-type | |
# Failed test 'Content-type' | |
# at t/server/controller/module.t line 20. | |
# got: 'text/plain; charset=UTF-8' | |
# expected: 'application/json; charset=utf-8' | |
not ok 116 - valid json | |
# Failed test 'valid json' | |
# at t/server/controller/module.t line 24. | |
not ok 117 - got total count | |
# Failed test 'got total count' | |
# at t/server/controller/module.t line 25. | |
# not ok - t/server/controller/module.t (8 out of 11) | |
not ok 118 - Error running (t/server/controller/module.t): | |
# Failed test 'Error running (t/server/controller/module.t): ' | |
# at /usr/local/share/perl/5.10.1/Test/Aggregate.pm line 382. | |
# ******** running tests for t/server/controller/pod.t ******** | |
ok 119 - GET /pod/Pod::Pm | |
ok 120 - code 200 | |
ok 121 - Content-type | |
ok 122 - NAME section | |
ok 123 - GET /pod/Pod::Pm with callback | |
ok 124 - code 200 | |
ok 125 - Content-type | |
ok 126 - callback included | |
ok 127 - GET /pod/DOESNEXIST | |
ok 128 - code 404 | |
ok 129 - Content-type | |
ok 130 - GET /pod/DOESNEXIST with callback | |
ok 131 - code 404 | |
ok 132 - Content-type | |
ok 133 - callback included | |
ok 134 - GET /pod/DOY/Moose-0.01/lib/Moose.pm | |
ok 135 - code 200 | |
ok 136 - Content-type | |
ok 137 - NAME section | |
ok 138 - GET plain | |
ok 139 - Content-type | |
ok 140 - GET /pod/DOY/Moose-0.01/lib/Moose.pm with callback | |
ok 141 - code 200 | |
ok 142 - Content-type | |
ok 143 - callback included | |
ok 144 - GET /pod/Moose | |
ok 145 - code 200 | |
ok 146 - Content-type | |
ok 147 - NAME section | |
ok 148 - GET plain | |
ok 149 - Content-type | |
ok 150 - GET /pod/Moose with callback | |
ok 151 - code 200 | |
ok 152 - Content-type | |
ok 153 - callback included | |
# ok - t/server/controller/pod.t (9 out of 11) | |
# ******** running tests for t/server/controller/source.t ******** | |
ok 154 - GET /source/DOESNEXIST | |
ok 155 - code 404 | |
ok 156 - Content-type | |
ok 157 - GET /source/DOY/Moose-0.01/ | |
ok 158 - code 200 | |
ok 159 - Index of | |
ok 160 - Content-type | |
ok 161 - GET /source/Moose | |
ok 162 - code 200 | |
ok 163 - Moose source | |
ok 164 - Content-type | |
# ok - t/server/controller/source.t (10 out of 11) | |
# ******** running tests for t/server/controller/user/favorite.t ******** | |
ok 165 - get user | |
ok 166 - code 200 | |
ok 167 - decode json | |
ok 168 - POST favorite | |
ok 169 - status created | |
ok 170 - location header set | |
ok 171 - GET http://localhost/favorite/Bed8OMS4SAerZ1f6su6Biw/Moose | |
not ok 172 - found | |
# Failed test 'found' | |
# at t/server/controller/user/favorite.t line 28. | |
# got: '404' | |
# expected: '200' | |
not ok 173 - user is Bed8OMS4SAerZ1f6su6Biw | |
# Failed test 'user is Bed8OMS4SAerZ1f6su6Biw' | |
# at t/server/controller/user/favorite.t line 30. | |
# got: undef | |
# expected: 'Bed8OMS4SAerZ1f6su6Biw' | |
ok 174 - DELETE /user/favorite/MO/Moose | |
not ok 175 - status ok | |
# Failed test 'status ok' | |
# at t/server/controller/user/favorite.t line 34. | |
# got: '404' | |
# expected: '200' | |
ok 176 - GET http://localhost/favorite/Bed8OMS4SAerZ1f6su6Biw/Moose | |
ok 177 - not found | |
# not ok - t/server/controller/user/favorite.t (11 out of 11) | |
not ok 178 - Error running (t/server/controller/user/favorite.t): | |
# Failed test 'Error running (t/server/controller/user/favorite.t): ' | |
# at /usr/local/share/perl/5.10.1/Test/Aggregate.pm line 382. | |
1..178 | |
# Looks like you failed 22 tests of 178. | |
Dubious, test returned 22 (wstat 5632, 0x1600) | |
Failed 22/178 subtests | |
t/release/documentation-hide.t ....... | |
ok 1 - name ok | |
ok 2 - author ok | |
ok 3 - Release is first | |
ok 4 - includes one file with modules | |
ok 5 - file contains one module | |
ok 6 - module name ok | |
ok 7 - documentation ok | |
ok 8 - two files with documentation | |
1..8 | |
ok | |
t/release/scripts.t .................. | |
ok 1 - name ok | |
ok 2 - author ok | |
ok 3 - version ok | |
ok 4 - four scripts found | |
ok 5 - two with documentation | |
ok 6 - what is to be expected | |
1..6 | |
ok | |
t/release/some-trial.t ............... | |
ok 1 - name ok | |
ok 2 - version with trial suffix | |
1..2 | |
ok | |
t/server/controller/author.t ......... You are running Catalyst::Engine::PSGI, which is considered a legacy engine for | |
this version of Catalyst. We will continue running and use your existing psgi | |
file, but it is recommended to perform the trivial upgrade process, which will | |
leave you with less code and a forward path. | |
Please review Catalyst::Upgrading | |
Useless use of a constant in void context at t/server/controller/author.t line 29. | |
env as a writer is deprecated, you probably need to upgrade Catalyst::Engine::PSGI at /usr/local/share/perl/5.10.1/Catalyst/Engine.pm line 27. | |
ok 1 - GET /author | |
not ok 2 - code 200 | |
# Failed test 'code 200' | |
# at t/server/controller/author.t line 17. | |
# got: '500' | |
# expected: '200' | |
not ok 3 - Content-type | |
# Failed test 'Content-type' | |
# at t/server/controller/author.t line 18. | |
# got: 'text/plain; charset=UTF-8' | |
# expected: 'application/json; charset=utf-8' | |
not ok 4 - valid json | |
# Failed test 'valid json' | |
# at t/server/controller/author.t line 22. | |
ok 5 - GET /author/DOESNEXIST | |
ok 6 - code 404 | |
ok 7 - Content-type | |
ok 8 - valid json | |
ok 9 - GET /author/MO | |
ok 10 - code 200 | |
ok 11 - Content-type | |
ok 12 - valid json | |
ok 13 - pauseid is MO | |
ok 14 - GET /author/_mapping | |
ok 15 - code 200 | |
ok 16 - Content-type | |
ok 17 - valid json | |
ok 18 - _mapping | |
ok 19 - Content-type | |
ok 20 - includes jsonp callback | |
ok 21 - POST _search | |
ok 22 - valid json | |
ok 23 - 0 results | |
1..23 | |
# Looks like you failed 3 tests of 23. | |
Dubious, test returned 3 (wstat 768, 0x300) | |
Failed 3/23 subtests | |
t/server/controller/diff.t ........... You are running Catalyst::Engine::PSGI, which is considered a legacy engine for | |
this version of Catalyst. We will continue running and use your existing psgi | |
file, but it is recommended to perform the trivial upgrade process, which will | |
leave you with less code and a forward path. | |
Please review Catalyst::Upgrading | |
env as a writer is deprecated, you probably need to upgrade Catalyst::Engine::PSGI at /usr/local/share/perl/5.10.1/Catalyst/Engine.pm line 27. | |
ok 1 - GET /diff/Moose | |
ok 2 - code 200 | |
ok 3 - valid json | |
ok 4 - GET /diff/Moose/DOY... | |
ok 5 - code 200 | |
ok 6 - valid json | |
ok 7 - json matches with previous run | |
ok 8 - GET diff Moose.pm | |
ok 9 - code 200 | |
ok 10 - valid json | |
1..10 | |
ok | |
t/server/controller/file.t ........... You are running Catalyst::Engine::PSGI, which is considered a legacy engine for | |
this version of Catalyst. We will continue running and use your existing psgi | |
file, but it is recommended to perform the trivial upgrade process, which will | |
leave you with less code and a forward path. | |
Please review Catalyst::Upgrading | |
env as a writer is deprecated, you probably need to upgrade Catalyst::Engine::PSGI at /usr/local/share/perl/5.10.1/Catalyst/Engine.pm line 27. | |
ok 1 - GET /file/DOES/Not/Exist.pm | |
ok 2 - code 404 | |
ok 3 - Content-type | |
ok 4 - valid json | |
ok 5 - GET /file | |
not ok 6 - code 200 | |
# Failed test 'code 200' | |
# at t/server/controller/file.t line 19. | |
# got: '500' | |
# expected: '200' | |
not ok 7 - Content-type | |
# Failed test 'Content-type' | |
# at t/server/controller/file.t line 20. | |
# got: 'text/plain; charset=UTF-8' | |
# expected: 'application/json; charset=utf-8' | |
not ok 8 - valid json | |
# Failed test 'valid json' | |
# at t/server/controller/file.t line 24. | |
not ok 9 - got total count | |
# Failed test 'got total count' | |
# at t/server/controller/file.t line 25. | |
ok 10 - GET /file/8yTixXQGpkbPsMBXKvDoJV4Qkg8 | |
ok 11 - code 200 | |
ok 12 - Content-type | |
ok 13 - valid json | |
ok 14 - Moose.pm | |
ok 15 - GET /file/DOY/Moose-0.01/lib/Moose.pm | |
ok 16 - code 200 | |
ok 17 - Content-type | |
ok 18 - valid json | |
ok 19 - Moose.pm | |
ok 20 - GET /file/DOESNEXIST | |
ok 21 - code 404 | |
ok 22 - Content-type | |
ok 23 - valid json | |
1..23 | |
# Looks like you failed 4 tests of 23. | |
Dubious, test returned 4 (wstat 1024, 0x400) | |
Failed 4/23 subtests | |
t/server/controller/mirror.t ......... You are running Catalyst::Engine::PSGI, which is considered a legacy engine for | |
this version of Catalyst. We will continue running and use your existing psgi | |
file, but it is recommended to perform the trivial upgrade process, which will | |
leave you with less code and a forward path. | |
Please review Catalyst::Upgrading | |
env as a writer is deprecated, you probably need to upgrade Catalyst::Engine::PSGI at /usr/local/share/perl/5.10.1/Catalyst/Engine.pm line 27. | |
ok 1 - GET /mirror | |
not ok 2 - code 200 | |
# Failed test 'code 200' | |
# at t/server/controller/mirror.t line 16. | |
# got: '500' | |
# expected: '200' | |
not ok 3 - Content-type | |
# Failed test 'Content-type' | |
# at t/server/controller/mirror.t line 17. | |
# got: 'text/plain; charset=UTF-8' | |
# expected: 'application/json; charset=utf-8' | |
not ok 4 - valid json | |
# Failed test 'valid json' | |
# at t/server/controller/mirror.t line 21. | |
ok 5 - GET /mirror/_search?q=* | |
ok 6 - code 200 | |
ok 7 - Content-type | |
ok 8 - valid json | |
ok 9 - GET /mirror/DOESNEXIST | |
ok 10 - code 404 | |
ok 11 - Content-type | |
ok 12 - valid json | |
1..12 | |
# Looks like you failed 3 tests of 12. | |
Dubious, test returned 3 (wstat 768, 0x300) | |
Failed 3/12 subtests | |
t/server/controller/module.t ......... You are running Catalyst::Engine::PSGI, which is considered a legacy engine for | |
this version of Catalyst. We will continue running and use your existing psgi | |
file, but it is recommended to perform the trivial upgrade process, which will | |
leave you with less code and a forward path. | |
Please review Catalyst::Upgrading | |
env as a writer is deprecated, you probably need to upgrade Catalyst::Engine::PSGI at /usr/local/share/perl/5.10.1/Catalyst/Engine.pm line 27. | |
ok 1 - GET /module/Moose | |
ok 2 - code 200 | |
ok 3 - Content-type | |
ok 4 - valid json | |
ok 5 - Moose.pm | |
ok 6 - GET /module/DOY/Moose-0.01/lib/Moose.pm | |
ok 7 - code 200 | |
ok 8 - Content-type | |
ok 9 - valid json | |
ok 10 - Moose.pm | |
ok 11 - GET /module/DOES/Not/Exist.pm | |
ok 12 - code 404 | |
ok 13 - Content-type | |
ok 14 - valid json | |
ok 15 - GET /module/DOESNEXIST | |
ok 16 - code 404 | |
ok 17 - Content-type | |
ok 18 - valid json | |
ok 19 - GET /module | |
not ok 20 - code 200 | |
# Failed test 'code 200' | |
# at t/server/controller/module.t line 19. | |
# got: '500' | |
# expected: '200' | |
not ok 21 - Content-type | |
# Failed test 'Content-type' | |
# at t/server/controller/module.t line 20. | |
# got: 'text/plain; charset=UTF-8' | |
# expected: 'application/json; charset=utf-8' | |
not ok 22 - valid json | |
# Failed test 'valid json' | |
# at t/server/controller/module.t line 24. | |
not ok 23 - got total count | |
# Failed test 'got total count' | |
# at t/server/controller/module.t line 25. | |
1..23 | |
# Looks like you failed 4 tests of 23. | |
Dubious, test returned 4 (wstat 1024, 0x400) | |
Failed 4/23 subtests | |
t/server/controller/pod.t ............ You are running Catalyst::Engine::PSGI, which is considered a legacy engine for | |
this version of Catalyst. We will continue running and use your existing psgi | |
file, but it is recommended to perform the trivial upgrade process, which will | |
leave you with less code and a forward path. | |
Please review Catalyst::Upgrading | |
env as a writer is deprecated, you probably need to upgrade Catalyst::Engine::PSGI at /usr/local/share/perl/5.10.1/Catalyst/Engine.pm line 27. | |
ok 1 - GET /pod/Pod::Pm | |
ok 2 - code 200 | |
ok 3 - Content-type | |
ok 4 - NAME section | |
ok 5 - GET /pod/Pod::Pm with callback | |
ok 6 - code 200 | |
ok 7 - Content-type | |
ok 8 - callback included | |
ok 9 - GET /pod/DOESNEXIST | |
ok 10 - code 404 | |
ok 11 - Content-type | |
ok 12 - GET /pod/DOESNEXIST with callback | |
ok 13 - code 404 | |
ok 14 - Content-type | |
ok 15 - callback included | |
ok 16 - GET /pod/DOY/Moose-0.01/lib/Moose.pm | |
ok 17 - code 200 | |
ok 18 - Content-type | |
ok 19 - NAME section | |
ok 20 - GET plain | |
ok 21 - Content-type | |
ok 22 - GET /pod/DOY/Moose-0.01/lib/Moose.pm with callback | |
ok 23 - code 200 | |
ok 24 - Content-type | |
ok 25 - callback included | |
ok 26 - GET /pod/Moose | |
ok 27 - code 200 | |
ok 28 - Content-type | |
ok 29 - NAME section | |
ok 30 - GET plain | |
ok 31 - Content-type | |
ok 32 - GET /pod/Moose with callback | |
ok 33 - code 200 | |
ok 34 - Content-type | |
ok 35 - callback included | |
1..35 | |
ok | |
t/server/controller/source.t ......... You are running Catalyst::Engine::PSGI, which is considered a legacy engine for | |
this version of Catalyst. We will continue running and use your existing psgi | |
file, but it is recommended to perform the trivial upgrade process, which will | |
leave you with less code and a forward path. | |
Please review Catalyst::Upgrading | |
env as a writer is deprecated, you probably need to upgrade Catalyst::Engine::PSGI at /usr/local/share/perl/5.10.1/Catalyst/Engine.pm line 27. | |
ok 1 - GET /source/DOESNEXIST | |
ok 2 - code 404 | |
ok 3 - Content-type | |
ok 4 - GET /source/DOY/Moose-0.01/ | |
ok 5 - code 200 | |
ok 6 - Index of | |
ok 7 - Content-type | |
ok 8 - GET /source/Moose | |
ok 9 - code 200 | |
ok 10 - Moose source | |
ok 11 - Content-type | |
1..11 | |
ok | |
t/server/controller/user/favorite.t .. You are running Catalyst::Engine::PSGI, which is considered a legacy engine for | |
this version of Catalyst. We will continue running and use your existing psgi | |
file, but it is recommended to perform the trivial upgrade process, which will | |
leave you with less code and a forward path. | |
Please review Catalyst::Upgrading | |
env as a writer is deprecated, you probably need to upgrade Catalyst::Engine::PSGI at /usr/local/share/perl/5.10.1/Catalyst/Engine.pm line 27. | |
ok 1 - get user | |
ok 2 - code 200 | |
ok 3 - decode json | |
ok 4 - POST favorite | |
ok 5 - status created | |
ok 6 - location header set | |
ok 7 - GET http://localhost/favorite/URxi8329TwWdDgCkEqzyJw/Moose | |
not ok 8 - found | |
# Failed test 'found' | |
# at t/server/controller/user/favorite.t line 28. | |
# got: '404' | |
# expected: '200' | |
not ok 9 - user is URxi8329TwWdDgCkEqzyJw | |
# Failed test 'user is URxi8329TwWdDgCkEqzyJw' | |
# at t/server/controller/user/favorite.t line 30. | |
# got: undef | |
# expected: 'URxi8329TwWdDgCkEqzyJw' | |
ok 10 - DELETE /user/favorite/MO/Moose | |
not ok 11 - status ok | |
# Failed test 'status ok' | |
# at t/server/controller/user/favorite.t line 34. | |
# got: '404' | |
# expected: '200' | |
ok 12 - GET http://localhost/favorite/URxi8329TwWdDgCkEqzyJw/Moose | |
ok 13 - not found | |
1..13 | |
# Looks like you failed 3 tests of 13. | |
Dubious, test returned 3 (wstat 768, 0x300) | |
Failed 3/13 subtests | |
t/types.t ............................ | |
ok 1 - coerce CPAN::Meta::Spec example | |
ok 2 - check CPAN::Meta::Spec example | |
ok 3 - coerce sparse resources | |
ok 4 - check sparse resources | |
ok 5 - sparse | |
1..5 | |
ok | |
t/util.t ............................. | |
ok 1 | |
ok 2 | |
ok 3 | |
ok 4 | |
ok 5 | |
ok 6 | |
not ok 7 | |
# Failed test at t/util.t line 13. | |
# got: '0.2000108' | |
# expected: '0.20108' | |
ok 8 | |
ok 9 | |
ok 10 | |
ok 11 | |
ok 12 | |
ok 13 | |
ok 14 | |
ok 15 | |
ok 16 | |
ok 17 | |
ok 18 | |
ok 19 | |
1..19 | |
# Looks like you failed 1 test of 19. | |
Dubious, test returned 1 (wstat 256, 0x100) | |
Failed 1/19 subtests | |
Test Summary Report | |
------------------- | |
t/fakecpan.t (Wstat: 5632 Tests: 178 Failed: 22) | |
Failed tests: 25-27, 47, 63-66, 81, 83-85, 94, 114-118 | |
172-173, 175, 178 | |
Non-zero exit status: 22 | |
t/server/controller/author.t (Wstat: 768 Tests: 23 Failed: 3) | |
Failed tests: 2-4 | |
Non-zero exit status: 3 | |
t/server/controller/file.t (Wstat: 1024 Tests: 23 Failed: 4) | |
Failed tests: 6-9 | |
Non-zero exit status: 4 | |
t/server/controller/mirror.t (Wstat: 768 Tests: 12 Failed: 3) | |
Failed tests: 2-4 | |
Non-zero exit status: 3 | |
t/server/controller/module.t (Wstat: 1024 Tests: 23 Failed: 4) | |
Failed tests: 20-23 | |
Non-zero exit status: 4 | |
t/server/controller/user/favorite.t (Wstat: 768 Tests: 13 Failed: 3) | |
Failed tests: 8-9, 11 | |
Non-zero exit status: 3 | |
t/util.t (Wstat: 256 Tests: 19 Failed: 1) | |
Failed test: 7 | |
Non-zero exit status: 1 | |
Files=16, Tests=394, 109 wallclock secs ( 0.30 usr 0.08 sys + 92.66 cusr 3.02 csys = 96.06 CPU) | |
Result: FAIL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment