Emmanuel Hugonnet's Library tagged → View Popular
Antonio Goncalves' Website - TestingJPA
This tutorial shows you how to run and unit test a simple JPA Entity with Eclipse Link, Maven, JUnit 4 and DbUnit. It uses MySQL 5 to run in production mode and Derby embedded for testing. This tutorial assumes that you are familiar with Maven, JPA and JUnit.
Unit-testing Spring MVC: It gets even awesomer
I just read this mini-article by John Ferguson Smart describing how wonderfully testable Spring MVC can be. He's absolutely right...Spring MVC is remarkably testable. While Mr. Smart's article is a good read, I must let you know that it gets even better.
Faking a Valid Acegi SecurityContext in a UnitTest
These execute in no particular authentication context, as they have been through no filter, like the one mentioned above. If you know which username and password the job is to execute as, you can fake it with a call like the one in setUp show below.
jboss.org: community driven
JSFUnit allows complete integration and unit testing of JSF webapp using a simple API. The tests run inside the container, which provides the developer full access to managed beans, the FacesContext, EL Expressions, and the internal JSF component tree.
Unitils
Unitils is an open source library aimed at making unit testing easy and maintainable. Unitils builds further on existing libraries like DBUnit and EasyMock and integrates with JUnit and TestNG.
Dumbster - Fake SMTP Server
The Dumbster is a very simple fake SMTP server designed for unit and system testing applications that send email messages. It responds to all standard SMTP commands but does not deliver messages, they are stored for later extraction and verification.
Manage test data for integration tests using Spring and DBunit
This article will look at configuring integration tests using Spring and DBUnit so that test data is inserted into the database before every test. This article also looks at a utility to export/import test data in the database using DBunit.
Unit Testing Struts 2 Actions wired with Spring using JUnit « Arsenalist
This entry serves as documentation on how to unit test Struts 2 actions configured using Spring. This used to be done using StrutsTestCase in the Struts 1.x but Struts provides enough flexibility in its architecture to accommodate unit testing easily.
In pursuit of code quality: Automate GUI testing with TestNG-Abbot
TestNG-Abbot is a testing framework that breathes new life into testing GUI components. This month, Andrew Glover walks you through the hardest part of GUI testing with TestNG-Abbot, which is understanding how a user scenario will play out.
In pursuit of code quality: Performance testing with JUnitPerf - Two easy tests for monitoring scalability and performance
Performance testing is usually left for last in the application development cycle because it's hard to test effectively with so many unknown variables. The authoe makes the case for performance testing as part of the development cycle.
In pursuit of code quality: Discover XMLUnit
Java™ developers are natural problem solvers, so it makes sense that someone has come up with an easier way to validate XML documents. This month, Andrew introduces XMLUnit, a JUnit extension framework that meets all your XML validation needs.
Jump into JUnit 4 - Streamlined testing with Java 5 annotations
This tutorial guides you step-by-step through the fundamental concepts of JUnit 4, with emphasis on the new Java 5 annotations. You will understand the major changes to JUnit 4 : exception testing, parametric testing, and the new flexible fixture model.
In pursuit of code quality: Performance testing with JUnitPerf
Performance testing is usually left for last in the application development cycle, not because it's unimportant, but because it's hard to test effectively. The author makes the case for performance testing as part of the development cycle.
JUnit Reloaded
Let's face it, JUnit is the most widely used (unit-) testing tool in the Java world. By now, most build tools and IDEs come with support for JUnit 4, so it's about time to give it a try. This article describes what's different compared to JUnit 3.8.x.
JUnit Testing Using Java ME JUnit Frameworks
Just because Java Micro Edition lacks reflective capabilities doesn't mean Java Micro Edition developers miss out on the advantages of JUnit styled testing. JUnit-styled frameworks and tools can still improve ME application quality.
In pursuit of code quality: JUnit 4 vs. TestNG
With its new, annotations-based framework, JUnit 4 has embraced some of the best features of TestNG, but does that mean it's rendered TestNG obsolete? Thsi article considers what's unique about each and reveals features you'll find only in TestNG.
swingunit: SwingUnit
SwingUnit is a unit test automation toolkit for Java Swing application. It works just like 'script' for Swing Application. Using SwingUnit in combination with JUnit you can run test scenario automatically, and you can use many JUnit supporting tools.
Simplify Unit Testing for Spring Web Components
Simplify Unit Testing for Spring Web Components
Selected Tags
Related Tags
Sponsored Links
Top Contributors
Groups interested in junit
-
Java
Mostly related to java tech...
Items: 3 | Visits: 63
Created by: Srinivas Raghu
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo
