[
https://jira.jboss.org/browse/JBIDE-6307?page=com.atlassian.jira.plugin.s...
]
Nick Boldt updated JBIDE-6307:
------------------------------
Attachment: JBIDE6307.patch
Looked at the manifest.mf and build.properties for console.test and it looks fine. So,
here's a patch to simply add jmock dependency to org.hibernate.eclipse.jdt.ui.test,
which should make that plugin properly declare its dep on jmock so that Tycho knows what
test framework to use when running Surefire.
Does this look reasonable? Are there other test plugins which need this similar
treatment?
hibernate.ui.test depends on org.jmock
--------------------------------------
Key: JBIDE-6307
URL:
https://jira.jboss.org/browse/JBIDE-6307
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 3.2.0.M2
Reporter: Nick Boldt
Assignee: Vitali Yemialyanchyk
Priority: Blocker
Fix For: 3.2.0.Beta
Attachments: JBIDE6307.patch
I assume for this we'll need to add jmock into a plugin which can expose these
dependencies as libraries on the classpath... perhaps a new plugin in tests/ or common/ ?
To add support for jmock via Maven, you apparently need only add a few things into the
parent pom:
http://www.jmock.org/maven.html
I've briefly prototyped this but currently can't get hibernate to build due to
upstream component build failures.
Worthy of note, the Teiid/Modeshape guys are playing with Mockito, rather than jMock.
Perhaps we need to settle on ONE framework for mocking?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira