-
-
Save hesco/6ca5a3fd847f05073f4a to your computer and use it in GitHub Desktop.
This is my first from scratch Mojolicious project. Seeking help understanding how to build my test suite.
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
10:04:06 ~/sandbox/tmp$ mojo generate app MyApp | |
[mkdir] /home/hesco/sandbox/tmp/my_app/script | |
[write] /home/hesco/sandbox/tmp/my_app/script/my_app | |
[chmod] my_app/script/my_app 744 | |
[mkdir] /home/hesco/sandbox/tmp/my_app/lib | |
[write] /home/hesco/sandbox/tmp/my_app/lib/MyApp.pm | |
[mkdir] /home/hesco/sandbox/tmp/my_app/lib/MyApp | |
[write] /home/hesco/sandbox/tmp/my_app/lib/MyApp/Example.pm | |
[mkdir] /home/hesco/sandbox/tmp/my_app/t | |
[write] /home/hesco/sandbox/tmp/my_app/t/basic.t | |
[mkdir] /home/hesco/sandbox/tmp/my_app/log | |
[mkdir] /home/hesco/sandbox/tmp/my_app/public | |
[write] /home/hesco/sandbox/tmp/my_app/public/index.html | |
[mkdir] /home/hesco/sandbox/tmp/my_app/templates/layouts | |
[write] /home/hesco/sandbox/tmp/my_app/templates/layouts/default.html.ep | |
[mkdir] /home/hesco/sandbox/tmp/my_app/templates/example | |
[write] /home/hesco/sandbox/tmp/my_app/templates/example/welcome.html.ep | |
10:04:23 ~/sandbox/tmp$ cd my_app/ | |
10:04:50 ~/sandbox/tmp/my_app$ prove t/basic.t | |
t/basic.t .. Couldn't find application class "MyApp". | |
t/basic.t .. Dubious, test returned 2 (wstat 512, 0x200) | |
No subtests run | |
Test Summary Report | |
------------------- | |
t/basic.t (Wstat: 512 Tests: 0 Failed: 0) | |
Non-zero exit status: 2 | |
Parse errors: No plan found in TAP output | |
Files=1, Tests=0, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.21 cusr 0.02 csys = 0.26 CPU) | |
Result: FAIL | |
10:04:58 ~/sandbox/tmp/my_app$ cd t | |
10:05:11 ~/sandbox/tmp/my_app/t$ prove basic.t | |
basic.t .. Couldn't find application class "MyApp". | |
basic.t .. Dubious, test returned 2 (wstat 512, 0x200) | |
No subtests run | |
Test Summary Report | |
------------------- | |
basic.t (Wstat: 512 Tests: 0 Failed: 0) | |
Non-zero exit status: 2 | |
Parse errors: No plan found in TAP output | |
Files=1, Tests=0, 0 wallclock secs ( 0.03 usr 0.02 sys + 0.21 cusr 0.02 csys = 0.28 CPU) | |
Result: FAIL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment