I have added a sub-page to the client-libs OpenJDK wiki on writing jtreg
tests.
https://wiki.openjdk.java.net/display/ClientLibs/Creating+Client+jtreg+tests
A good part of it is about stable automated tests. I'm sure there are
things I forgot to say.
Please look at it and if there any specific suggestions for corrections
or additional content
please send them to me. Small and specific is better.
Or even better remember ANY member of the client-lib group [1] can edit
this themselves ..
-phil.
[1] https://openjdk.java.net/census#client-libs