Notice: I am no longer maintaining JYaml. See this this Q&A for a list of alternatives. YAML4DbUnit YAML4DbUnit integrates JYaml with DbUnit so that you can write your data set files in YAML rather than XML. Here is an example: customer: - id: 1 name: "John McEnroe" login: jMAC - id: 2 name: "Larry Bird" login: larryB transactions: - id: 1 customer_id: 1 item_id: 1 purchase_date: "2007-05-15 15:40