try running your tests with external Maven in Eclipse, that should
decouple the test from the Eclipse libraries
On 23.10.2012 22:03, Gopu Shrestha wrote:
I am close to develop this POC for my incoming project.
Can any one advise me another alternative ? like using Ant to execute
the test?
On Tue, Oct 23, 2012 at 2:27 PM, Cristiano Gavião
<cvgav...@gmail.com
<mailto:cvgav...@gmail.com>> wrote:
I follow Brian's comment. I had some problems with junit conflicts
some time ago.
If you are using Juno, it is using Junit 4.10 while jbehave is using
4.8.2.
I resolved my problem after I converted the project to maven and
installed m2e plugin that have set the dependencies properly.. I
have to exclude jbehave's junit too in my project's pom.
regards,
Cristiano
On 23/10/12 16:09, Brian Repko wrote:
I believe that the JUnit4 container collides with hamcrest - there
may be another hamcrest library contained in the JUnit4 container
in Eclipse.
I think I've hit this before and ended up not using JUnit4 as part
of my project configuration but rather adding it as a
library/maven dependency.
Brian
----- Original message -----
From: Gopu Shrestha
<gshrestha1...@gmail.com
<mailto:gshrestha1...@gmail.com>>
To: user@jbehave.codehaus.org
<mailto:user@jbehave.codehaus.org>
Subject: Re: [jbehave-user] example Tables samples
"org.hamcrest.Matchers"'s
Date: Tue, 23 Oct 2012 12:47:37 -0500
Removed, added and restarted, same error. Is there any problem in
code??? I don't think so....
Inline image 1
On Tue, Oct 23, 2012 at 12:41 PM, Mauro Talevi
<mauro.tal...@aquilonia.org
<mailto:mauro.tal...@aquilonia.org>> wrote:
Could be a corrupt jar. Try re-downloading the hamcrest jars,
or if you're using Maven delete the copy in the local repo.
On 23/10/2012 18:57, Gopu Shrestha wrote:
Hi folks,
I am getting this error, what could be the problem???
(java.lang.SecurityException: class "org.hamcrest.Matchers"'s
signer information does not match signer information of other
classes in the same package)
Inside Method
Processing system properties {}
Using controls
EmbedderControls[batch=false,skip=false,generateViewAfterStories=true,ignoreFailureInStories=false,ignoreFailureInView=false,verboseFailures=false,verboseFiltering=false,storyTimeoutInSecs=300,threads=1]
(BeforeStories)
Running story calculator.story
(calculator.story)
Scenario:
Given the table of factors:
|first|second|
|4|5|
|3|2|
|8|8|
When Columns to add
Then the result:
|product|sum|
|20|9|
|6|5|
|64|16|
(FAILED)
(java.lang.SecurityException: class "org.hamcrest.Matchers"'s
signer information does not match signer information of other
classes in the same package)
(AfterStories)
Generating reports view to 'C:\BDD
WorkingCopy\target\jbehave' using formats '[stats, console,
txt]' and view properties '{defaultFormats=stats,
decorateNonHtml=true, viewDirectory=view,
decorated=ftl/jbehave-report-decorated.ftl,
reports=ftl/jbehave-reports-with-totals.ftl,
maps=ftl/jbehave-maps.ftl,
navigator=ftl/jbehave-navigator.ftl,
views=ftl/jbehave-views.ftl,
nonDecorated=ftl/jbehave-report-non-decorated.ftl}'
Reports view generated with 1 stories (of which 0 pending)
containing 1 scenarios (of which 0 pending)
Email had 1 attachment:
* |image.png|
148k (image/png)
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email