You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by je...@bnpparibas.com on 2005/06/27 16:15:26 UTC
Unit test report - failure details
Hi all,
I am wondering why junit is sometimes able to give the reason of the
failure and sometimes it won't.
For instance in the report generate by JUnit in the failure details part I
will get:
testDuplicateAugb
e
x
p
e
c
t
e
d
:
<
C
O
M
P
>
b
u
t
w
a
s
:
<
R
E
J
T
>
(
T
h
e
r
e
a
s
o
n
)
j
u
n
i
t
.
f
r
a
m
e
w
o
r
k
.
A
s
s
e
r
t
i
o
n
F
a
i
l
e
d
E
r
r
o
r
:
e
x
p
e
c
t
e
d
:
<
C
O
M
P
>
b
u
t
w
a
s
:
<
R
E
J
T
>
a
t
c
o
m
.
m
y
p
a
c
k
a
g
e
.
T
e
s
t
M
y
P
a
c
k
a
g
e
.
m
e
t
h
o
d
N
e
g
a
t
i
v
e
T
e
s
t
(
T
e
s
t
M
a
r
k
e
t
E
x
e
c
.
j
a
v
a
:
1
8
3
)
a
t
c
o
m
.
m
y
p
a
c
k
a
g
e
.
T
e
s
t
M
y
P
a
c
k
a
g
e
.
T
e
s
t
M
a
r
k
e
t
E
x
e
c
.
t
e
s
t
D
u
p
l
i
c
a
t
e
A
u
g
b
(
T
e
s
t
M
a
r
k
e
t
E
x
e
c
.
j
a
v
a
:
4
2
9
)
testTradeDateNotSpecified
N
/
A
(
N
o
r
e
a
s
o
n
)
j
a
v
a
.
l
a
n
g
.
N
u
l
l
P
o
i
n
t
e
r
E
x
c
e
p
t
i
o
n
a
t
c
o
m
.
m
y
p
a
c
k
a
g
e
.
i
n
j
e
c
t
M
a
r
k
e
t
E
x
e
c
(
I
n
j
e
c
t
i
o
n
U
t
i
l
.
j
a
v
a
:
5
2
7
)
a
t
c
o
m
.
m
y
p
a
c
k
a
g
e
.
T
e
s
t
M
a
r
k
e
t
E
x
e
c
.
t
e
s
t
T
r
a
d
e
D
a
t
e
N
o
t
S
p
e
c
i
f
i
e
d
(
T
e
s
t
M
a
r
k
e
t
E
x
e
c
.
j
a
v
a
:
4
3
5
)
The second one doesn't give any reason, just N/A.
How can I find a way to print out some information instead of N/A.
Thank you,
Jean-Marc
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org