BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage JUnit Content on InfoQ

  • JUnitMax tightens the feedback cycle of software development

    Kent Beck re-released JUnitMax, a continuous test runner plugin for Eclipse that tightens the feedback loop of programmers aiming for a low risk, high throughput pace of development.

  • JUnit 4.7: Per-Test rules

    JUnit 4.7, which has just reached Release Candidate stage includes a significant new feature: Rules. Rules are, in essence, another extension mechanism for JUnit, which can be used to add functionality to JUnit on a per-test basis. Most examples of custom runners in earlier versions of JUnit can be replaced by Rules, and new capabilities have already been added.

  • Presentation: Gallio, a .NET Testing Automation Platform

    In this presentation recorded at QCon SF 2008, Jeff Brown presents Gallio, a test automation platform, and MbUnit, a test automation framework for .NET. He shows how a test framework works on Gallio and talks about the difficulties faced when building such a platform.

  • Forget Your Debugger, Use The "Saff Squeeze"

    Kent Beck, renowned co-father of XP, TDD, and JUnit itself, tells a story about tracking down a defect in a new JUnit feature, JUnitMax, with unit tests instead of a debugger. He explains a method shown to him by current JUnit lead developer, David Saff, where a high level unit test is recursively inlined until a super concise test is created down at the very root of the defect.

  • Interview: Erich Gamma Discusses Jazz, Eclipse, JUnit and Design Patterns

    In this interview from QCon London 2008, Erich Gamma discusses the Jazz project, why Eclipse has been successful, the strict Eclipse release schedule, JUnit, Design Patterns, how to identify a design pattern, design patterns and the 'Don't Repeat Yourself' principle, the design pattern community, and whether dependency injection is a design pattern.

  • JUnit Still Not Dead

    JUnit has recently released version 4.5 of the infamous Java testing framework, but is it enough to keep the project in the spotlight? Read more to find what's being talked about regarding the future of JUnit.

  • Continuous Integration and Code Inspection with Hudson and FindBugs

    A recent article published in IBM developerWorks talks about automating Continuous Integration and Code Inspection tasks in a build process using open source tools. It explains how to install and configure Hudson server with Subversion, Ant, and software inspection tools like FindBugs and PMD to create a build process with continuous feedback on test results and defects.

  • Article: Iterative, Automated and Continuous Performance

    A new InfoQ article looks at evaluating performance in an iterative and continuous manner.

  • Test Driven Code Reuse

    Code reuse has been the holy grail of software development for a long time. Historically we've tried to achieve code reuse through abstractions and frameworks, which came with their own technical debt. There is now a novel approach that leverages the power of search tools and automated developer tests to search open-source code for matches against interface and behavior.

  • Presentation: System Integration Testing with Spring

    Spring provides a holistic solution that makes your application's use cases and subsystems easier to test. The emphasis is on testing outside a JEE server or container, thus greatly improving productivity. In this presentation, Spring Creator Rod Johnson discusses integration testing and the support that Spring provides for it.

  • Book Excerpt: How to Improve your Continuous Testing

    Continuous Integration has become a standard development best practice - but it's not always done well. Tests take up much of an application's build time, and poorly constructed test suites can cause long builds, whereupon teams start to circumvent agreed-upon CI practices just get the time to code. InfoQ presents advice and examples in Chapter 6: Continuous Testing from a new CI book.

  • JUnit 4.4 Released

    The release of JUnit 4.4 sees the inclusion of the assertThat method, offering easier reading and new flexibility to the JUnit library.

  • Article: Unit-Testing XML

    In this exclusive InfoQ article, Stefan Bodewig explains how to use the XMLUnit Java framework to write tests in the presence of XML.

  • Unit Testing Tips from Google

    The QA engineers at Google share their unit testing advice in an ongoing series titled "Testing on the Toilet." The latest installment tackles a common problem: how can the unit tests themselves be refactored without accidentally invalidating the tests?

  • Understanding Legacy Code with Characterization Testing

    Alberto Savoia has written a series of four articles describing "characterization testing" - the process of writing unit tests to understand and work with legacy code.

BT