Hi,
I am unable to see the Test::Harness displaying the test number and also doesn't displays the passed test ie;
something like this
ok 1 - use xxxx;
instead I can see only the test that has failed
which looks something like this
test1......59/0
# Failed test 'Order updated to PROCEED , Order id(xxxx)'
# at test1.t line 565.
# got: undef
# expected: 'PROCEED'
I am not sure what I changed.
I was experimenting with TAP::Harness on another script, but not sure whether it will have impact on the script that I am working which uses TEST::Harness
Note:
When I run the test script individually using perl 1.t
it displays all the pass and the fail tests with proper number
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|