Ask Engineering Software Engineering

using json for unit-tests input and outputs instead of builders and assertions?

Background: I’m writing unit-tests for a java data-intensive application. The application’s input are user defined database tables that can contain all data types (numeric-types, string-types, date-types..), and is represented by large hierarchical value classes. There are many classes that perform various transformations and I want to test them. The current approach builds a big instance […]