Projects tagged ‘dbunit’


[12 total ]

2 Users
 

Direct Democracy Portal, mixing open source with politics to create a portal for online organisations governed through direct democracy. Using maven, mysql, hibernate annotations (EJB 3.0), spring framework and ThinWire RIA Ajax Framework.
Created over 2 years ago.

1 Users

Java Developers Toolbox contains various java tools and utilities I have created over the years to aid in variety of development tasks. Java WebstartStable Trunk Why should I use the Java ... [More] Toolbox?If you've run into any of the following situations, you may find the Java Toolbox useful. You've got a gazillion jar files and you need to find which jar contains a single class file (or duplicates) You want to decompile class files from 3rd party jar files Your project uses a gazillion jar files and you want to easily visualize the jar dependencies in a graph You just downloaded an opensource project (java, c++, c) and you want some quick stats on how large the code base is and the ratio of comments to code to whitespace All sorts of text formatting goodies - java, xml, sql, quoting, line numbers, etc You want to spy on socket communications between your web browser and a http server Tons more... Screenshot [Less]
Created about 1 year ago.

0 Users

Latest Version: 0.9.2-m1 A collection of very simple utilities with the goal of making writing tests easier with less code. FunctionalTestRunner - JUnit ExtensionAdded in 0.9.2-m1, read about it ... [More] on the Carbon Five blog: http://blog.carbonfive.com/2009/10/testing/c5-test-support-new-addition-functionaltestrunner Spring 2.5+ Test ExtensionsDataSetTestExecutionListenerLoads DBUnit test fixtures before test methods flagged with the @DataSet annotation. Participates in an active transactions if available or in auto-commit mode if one is not. @ContextConfiguration(locations = {"classpath:applicationContext.xml"}) public class TripRepositoryImplTest extends AbstractTransactionalDataSetTestCase { @Autowired TripRepository repository; @Test @DataSet public void forIdShouldFindTrip() throws Exception { Trip trip = repository.forId(2); assertThat(trip, not(nullValue())); } }The high-level execution path for this example looks like: Inject dependencies (DependencyInjectionTestExecutionListener) Start transaction (TransactionalTestExecutionListener) Load dbunit data set from TripRepositoryImplTest.xml (DataSetTestExecutionListener) using the setup operation (default is CLEAN_INSERT) Execute test Optionally cleanup dbunit data using the tear down operation (default is NONE) Rollback transaction (TransactionalTestExecutionListener) Here’s the trimmed down log output for this test: INFO: Began transaction (1): transaction manager; rollback [true] (TransactionalTestExecutionListener.java:259) INFO: Loading dataset from location 'classpath:/eg/domain/TripRepositoryImplTest.xml' using operation 'CLEAN_INSERT'. (DataSetTestExecutionListener.java:152) INFO: Tearing down dataset using operation 'NONE', leaving database connection open. (DataSetTestExecutionListener.java:67) INFO: Rolled back transaction after test execution for test context (TransactionalTestExecutionListener.java:279)See http://blog.carbonfive.com/2008/07/testing/database-testing-with-spring-25-and-dbunit for additional details. HibernateOpenSessionTestExecutionListenerOpens a Hibernate Session for the duration of a test method so that you can fetch lazy associations and collections. Useful for integration testing. Data FixturesDBUnitFixture - Load a DBUnit dataset easily. SQLFixture - Load a SQL script easily. EasyMock ExtensionsArgumentAssertion - Make assertions on parameters passed to a mock. [Less]
Created 12 months ago.

0 Users

A collection of stuff worked on during my time on the bench
Created about 1 year ago.

0 Users

This is a Grails (http://grails.org) plugin that aims to enable grails integration tests to use DBUnit to handle fixture data.
Created about 1 year ago.

0 Users

Created 5 months ago.

0 Users

Make functional tests easy, integrating many open-source tools like Dbunit, Selenium, Eclipse. Turn tests development faster, easy and evolutional with a high api that hide many problems of Selenium ... [More] and Dbunit. Docs Roadmap How to Contribute For Users User List arangi-tester-user@googlegroups.com For Developers SVN for Members SVN for Non-Members Developer List arangi-tester-dev@googlegroups.com [Less]
Created 4 months ago.

0 Users

The goal of this project is to facilitate the generation of dbUnit datasets, used for database unit testing.
Created 6 months ago.

0 Users

Extending the Spring 2.5 Test Context FrameworkThe TestContext Framework is one of the most useful new features in the Spring 2.5 release. This project provides example code illustrating how to use ... [More] the TestExecutionListener API to incorporate DBUnit's functionality into the framework for near transparent usage. It additionally provides a model for how other third-part testing tools could be incorporated. [Less]
Created 12 months ago.

0 Users

A module for NetBeans IDE that makes use of DbUnit easier. DbUnit is a JUnit extension (also usable with Ant) targeted at database-driven projects that, among other things, puts your database into a ... [More] known state between test runs. This is an excellent way to avoid the myriad of problems that can occur when one test case corrupts the database and causes subsequent tests to fail or exacerbate the damage. DbUnit has the ability to export and import your database data to and from XML datasets. Since version 2.0, DbUnit can also work with very large datasets when used in streaming mode. DbUnit can also help you to verify that your database data match an expected set of values. (www.dbunit.org) [Less]
Created 7 months ago.