[
http://jira.jboss.com/jira/browse/JBIDE-1595?page=comments#action_12394279 ]
Max Andersen commented on JBIDE-1595:
-------------------------------------
you got it backwards ,)
Your unit tests should not need to be a full integration tests - that makes the test
execution slow and bulky; especially if you just need to test a small part.
that being said it is a valid point that we should test the code as close as possible to
what the user does, but a better way to do that is that you let the UI use the same lower
and reusable parts as your unittest is testing.
Thus if you move the code to be reusable the UI code becomes simpler and we dont have tons
unneeded of references and dependencies in tests.
Create ConsoleConfiguration for each hibernate.cfg.xml content
--------------------------------------------------------------
Key: JBIDE-1595
URL:
http://jira.jboss.com/jira/browse/JBIDE-1595
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Reporter: Dima Geraskov
Fix For: 2.0.1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira