Java Refactoring and Designing for Testability
This three-part series discusses: 1. Principles of Unit Testing (and some tools: JUnit with RAD) 2. Refactoring for Testability 3. End-to-End Testing of Applications
Java Software Testing Tutorials and Videos
This three-part series discusses: 1. Principles of Unit Testing (and some tools: JUnit with RAD) 2. Refactoring for Testability 3. End-to-End Testing of Applications
This short video shows how to use Mockito Argument Matchers for stubbing and verifying mocks in Java unit tests. Mockito is an open source mocking framework that tastes really good. It lets you write beautiful tests with clean and simple API. Mockito doesn’t give you hangover because the tests are …
Our need for more speed comes from our Java unit testing suite’s taking so long to run that we’re forced to choose between two rather bad options. Either we stare at the terminal screen until we lose the flow or we trigger off the build and task-switch to something else. …
This video explains how to do Behavior-Driven Development (BDD) with JBehave in a Java software development context. In BDD, Product Owners and team members focus on the problem domain and develop a common language for expressing a product’s desired behavior as stories and acceptance test criteria. Developers can then map …
CodeNarc analyzes Groovy code for defects, bad practices, inconsistencies, style issues and more. A flexible framework for rules, rulesets and custom rules means it’s easy to configure CodeNarc to fit into your project. This short tutorial shows you how easy it is to write your own CodeNarc rule. Video Producer: …
This video shows the refactoring of Java legacy code and the presentation was given to the Java User Group Berlin Brandenburg. The beginning is a mess of ugly code that uses an HttpClient to acquire currency conversions. The higher-order goal of the code is to find deals in currency translation …