title: How to save information after all Test Classes with Tests Finished. Java Junit 5 Gradle
body: <p>I have the trouble to store the information of the tests which were executed.
  So I use, Junit 5, Java 8, PlaywRight.</p>
  <p>I use the parallelisation per class.</p>
  <p>My Task is.</p>
  <p>I need to save the information of the tests( for example : status ID, status of the tests, method name) in the json.file, where I want to see all tests which were executed.</p>
  <p>I tried to it in the afterAll and write the information in the Json File using Gson.
  it writes with invalid format. U can see in the image.<br />
  If someone has an experience, please share. It would be create.</p>
  <p>[enter image description here][1]
  [1]: https://i.stack.imgur.com/oV8Os.png</p>