test-nginx icon indicating copy to clipboard operation
test-nginx copied to clipboard

[question] How i can get full details?!

Open rryqszq4 opened this issue 9 years ago • 2 comments

@agentzh hi:

Failed test, how i can get full details in "got:"?!

#   Failed test 'TEST 1: session - response_body - response is expected (req 0)'
#   at /usr/local/share/perl/5.14.2/Test/Nginx/Socket.pm line 1282.
#          got: "{! Warning: session_start() [<a href='function.ses"...
#       length: 232
...

rryqszq4 avatar May 05 '16 09:05 rryqszq4

@rryqszq4 Add the following lines before run_tests(); in your .t file:

no_long_string();
no_diff();

For more details, please consult the official documentation:

https://metacpan.org/pod/Test::Nginx::Socket

agentzh avatar May 05 '16 18:05 agentzh

@agentzh Thanks, I got it.

rryqszq4 avatar May 06 '16 03:05 rryqszq4