I'm currently checking if my plug-ins conform to JEP-200. There seems to be no easy way to check if a class is compatible with serialization of JEP-200. Currently, you need to deploy the plug-in to Jenkins and manually test if everything works as expected.
For all of my classes that are Serializable, I wrote a SerializationTest that checks that the class could be serialized using Java serialization or XStream serialization. The same thing is missing for JEP-200 serialization. Please provide a way to simply serialize and deserialize an object using your JEP-200 implementation.
Examples
- XStream Serialization Test
- Java Serialization Test and corresponding base class
- relates to
-
JENKINS-48968 Move tests ClassFilter consistency checks from GitHub API Plugin to JTH Embedded tests
- Closed