InfoQ Homepage Unit Testing Content on InfoQ
-
Mocking .NET without Hurting Its Feelings
John Wright discusses two main types of mocking frameworks: constrained frameworks (like RhinoMocks and Moq) and unconstrained frameworks (such as Typemock Isolator and Telerik JustMock).
-
JUnit 5 — New Opportunities for Testing on the JVM
Sam Brannen discusses the architecture of JUnit 5 and demos some of its main features: tagging, DI, repeated tests, parameterized tests, conditional test execution, lambda for assertions, etc..
-
Intro to Property-Based Testing
Shane Charles discusses Property-based Testing, a method used to cover many possible input values and edge cases for Unit Testing.
-
Addressing Security Regression by Unit Testing
Christopher Grayson covers unit testing solutions that are both integrated into tested codebases as well as solutions that can test deployed codebases from a black box standpoint.
-
Testing with Spring 4.3, JUnit 5, and beyond
Sam Brannen overviews testing improvements in Spring 4.3, covers recent improvements in Spring MVC Test and testing features in Spring 5.0, adding examples with upcoming support for JUnit 5 on Java 8.
-
Testing Spring Boot Applications
Phil Webb discusses the new features added to Spring Boot 1.4 to help with testing, how to do unit testing, how and when to involve Spring in tests, and useful tools and libraries.
-
RxJS 5 in Depth
Gerard Sans explains RxJS' data architecture based on reactive programming, exploring Observables API using RxJS koans and unit tests. RxJS 5 focuses on performance and usability.
-
The Mechanics of Testing Large Data Pipelines
Mathieu Bastian explores the mechanics of unit, integration, data and performance testing for large, complex data workflows, along with the tools for Hadoop, Pig and Spark.
-
Mutate Your Code and Reveal Your True Test Coverage
Pawel Sawicz suggests putting tests to the test by mutating the code to see if the codebase is properly covered by tests and how errors are propagated.
-
Testing with Spock: The Logical Choice
Iván López discusses the basics of Spock and how easily one can test a Java application. Spock is a Groovy-based testing and specification framework for Java and Groovy applications.
-
Get the Most out of Testing with Spring 4.2
Brannen and Fränkel cover the latest testing features in Core Spring, Spring Boot, and Spring Security, and tips on integration testing with TestNG, DB transactions, SQL script execution, etc.
-
Take a Groovy Rest
Guillaume Laforge talks about APIs, how Groovy and Rest services interact, and how to test such APIs with Spock to be “Enterprisey".