1. What class should I inherit to create a database integration test in case of Spring? stackoverflow.comI want to create a unit test for integration testing. What class should I inherit to be able to commit/rollback transactions? |
2. Unit testing Spring 3 database methods stackoverflow.comI have abstract class that defines database methods, such as inserts and updates, and a concrete class that implements it. The database configurations (dataSource, DatabaseTarget etc) are defined as beans in ... |
3. Functional test in Spring: changes in database not visible in test stackoverflow.comI have integration test (which runs under Jetty) where I open page (by using Selenium) and check that record about this activity was added to database (HSQL). But it does not ... |
4. Spring/Hib : Simulate a database down for test purposes... forum.springsource.orgRe: Spring/Hib : Simulate a database down for test purposes. I do not think that there is a ready to use spring class for this purpose. However, if I'd like to ... |
5. 1 war for test and production database forum.springsource.org1 war for test and production database Is it possible to externally configure database properties (via applicationContext-jdbc.xml and jdbc.properties perhaps), so that one and only one war file would on test ... |
6. Unit Tests - Priming the database per-test vs rolling back forum.springsource.orgUnit Tests - Priming the database per-test vs rolling back Hi, There was an article on the Server Side that discussed testing with Hibernate, and part of the discussion was regarding ... |
7. JUnit tests - Support multiple databases forum.springsource.orgHello spring forum, I read that AbstractTransactionalSpringContextTests is designed to support a single database. Does anybody have an idea how to make AbstractTransactionalSpringContextTests to support multiple databases? One idea could be ... |
8. Unit Tests - Can we remove reliance on Database forum.springsource.orgUnit Tests - Can we remove reliance on Database Hi A general rather than a specific question, but any replies appreciated. We are using Spring, together with Toplink and Oracle 10g ... |
9. Populate testing db w/ subclass of LocalSessionFactoryBean forum.springsource.orgPopulate testing db w/ subclass of LocalSessionFactoryBean We're unit-testing the service methods in our data-driven Spring webapp, and chose to use an in-memory HSQLDB database instead of our "normal" database in ... |
10. different databases for dev and test forum.springsource.orghi! I'm using spring with hibernate and so far it works fine. I define a datasource, inject it into the sessionfactory and inject the factory into my DAOs. For JUnit tests ... |
11. Setting up a test database forum.springsource.orgSetting up a test database Hi all I'm looking for a way to test my Spring JDBCTemplate DAOs. To be brief I'm thinking of using an in-memory Hsqldb database, and populating ... |
12. Generated tests not cleaning database entries forum.springsource.orgAfter a test run, I always end up with unwanted entries in the database (created by the roo generated unit tests). Is there any way to have roo clean up after ... |
13. Using a different database for testing forum.springsource.orgUsing a different database for testing I have been trying to use another database for Roo integration test. Our production database is Oracle but I want to change the test database ... |
14. Integration Tests: Fill test database before tests are executed forum.springsource.orgIntegration Tests: Fill test database before tests are executed I'm often writing integration tests which test against a filled database. So the database has to be filled with data before my ... |
15. How to generate test classes for reverse engineered database forum.springsource.orgSo this might be a noob question, but I can't figure out how to generate the test classes for the generated database. I can see you add --testAutomatically to entity definitions, ... |