-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XSpec test fails but Maven process reports success #65
Comments
|
Yes, it's an old heritage. Actually, I didn't know |
Hi, @cmarchand . Yes, the usage and expectations look good. I'm not familiar with the code in this repository, so I can't comment on the tests' connection with this issue or whether other test cases would be useful. I'll leave that part up to you. Thanks for working on this issue! |
One more thing, in case it affects your fix or tests: The shared scenario is not limited to a single |
Ok, I'll complete the test cases with this. |
I have a case where an
<x:expect>
element in the XSpec test produces a failure, but the overall Maven process reports success. Here is a small test that reproduces the issue. (The XSLT stylesheet can be anything because it's not actually used.)After I do
mvn test
the result includes the following.The problem seems to be related to code reuse in the XSpec test via the
<x:like>
element. If I delete one of the<x:like>
elements or replace it with the content of the shared scenario, the problem goes away.The text was updated successfully, but these errors were encountered: