James Shore continues his series on Test Driven Development in Java with Eclipse and JUnit with further development and test of the project application.
Video producer: James Shore
James Shore starts this series on Test Driven Development by describing what his goals are and then starts with a new project in Java with Eclipse where he will apply TDD using JUnit.
Video Producer: James Shore
GWT has a lot of little-publicized infrastructure that can help you build apps The Right Way: test-driven development, code coverage, comprehensive unit tests, and integration testing using Selenium or WebDriver. This session will survey GWT’s testing infrastructure, describe some best practices we’ve developed at Google, and help you avoid common pitfalls.
In this presentation the Artifactory team demonstrates the benefits of managing your software development life-cycle through continuous integration. Frederic Simon and Yoav Landman show how to automate large-scale multi-module projects using a fully-integrated platform with Artifactory and Hudson. Using Maven, Gradle, or Ivy builds, it is now possible to dynamically automate and manage the pyramidal stacks of Unit, Functional, and Integration Tests. This demo-based session will show you how Artifactory and Hudson work together to make it much easier to promote certified builds to milestone releases, and finally to general availability, while making sure all builds are fully reproducible.
As part of his talk on integration tests J.B. Rainsberger talked about how contract tests can be used to test the interaction between classes when using a mockist approach to developer testing. He wondered aloud if it would be possible to write these kinds of tests using abstract classes and JUnit 4. The answer is yes, with some caveats, as Ben Rady demonstrates it.
Video produced by Ben Rady
This video removes the duplication in the add and subtract classes by introducing an abstract base class. The end result is a use of the template method pattern.
Video Producer: Brett L. Schuchert
Starting with an empty workspace, this video begins with a demonstration of basic Test Driven Development in Java using Eclipse. From basic tests and basic production code, to refactoring, and some splashes of Behavior Driven Development, watch production code get created test first.
San Francisco Java User Group presents Chris Bedford who talks about:
- How to write functional tests with Selenium (including explaining its IDE, architecture, RC, and alternatives like Canoo WebTest)
- How to set up Selenium testing for web apps in continuous integration using Maven, Ant, Cargo, etc.
- How to use Hudson for build server
The Maven team has gone to the ends of the earth to ensure backward compatibility, improve usability, increase performance, allow safe embedding, and pave the way for implement many highly demanded features. This talk will briefly cover the process and tooling changes that have occurred in the Maven project in order to accomplish what we have done with Maven 3.0, as well as discuss the architectural and feature changes. Some of the process changes include setting up a multi-platform Hudson grid, building out a framework of over 440 integration tests, creating integration tests for all core Maven plugins, and systematically seeking out Maven 2.x OSS projects to validate Maven 3.x’s compatibility. We also built out a framework that measures disk I/O, network I/O, memory consumption, and CPU utilization to ensure that performance doesn’t degrade.
San Francisco Java User Group presents Kohsuke Kawaguchi from Sun who introduces us to Hudson, an open-source continuous integration (CI) system, which improves the productivity of a development team by automating various things.
Additional resources:keep looking »