Highlights
- Pro
Pinned Loading
-
spock-springboot-demo
spock-springboot-demo PublicDemo of various Spock features unit testing a Spring Boot app.
-
-
Spock Testing: Overview and Cheat Sheet
Spock Testing: Overview and Cheat Sheet 1# Spock Testing2> This is a copy/MD-conversion of the original article by [Lukasz Janicki](https://github.com/TheJavatarCom): [Spock Testing – Spock tutorial – The Javatar ](http://thejavatar.com/testing-with-spock/). The webpage is no longer available, but this cheat-sheet is too good to loose! A simpler full demo of a Spock implementation can also be found [here](https://github.com/schultzisaiah/spock-springboot-demo).34## What is Spock?5Spock is a **unit testing framework** that in great extent utilizes Groovy’s syntax making your tests comprehensible and easy on the eyes. Although it is a Groovy technology you can use it to test your Java classes as well. What is the most important is that **Spock makes writing tests fun**. And I really mean it.
-
Add to DataDog traces from Java code
Add to DataDog traces from Java code 1import static java.lang.String.format;
2import static java.util.Optional.ofNullable;
34import com.fasterxml.jackson.databind.JsonNode;
5import com.fasterxml.jackson.databind.ObjectMapper;
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.


