How to test the difference between fastjson and gson in serialization and deserialization



  • The project uses Gson to replace Fastjson. These two packages have some differences in serialization and deserialization. As a software test engineer, how do I perform regression testing?



  • I would:

    • run existing regression tests for serialization and deserialization to see if the system still performs the same way. These can be unit tests or integration tests. You may also consider running existing performance regression tests if that's of concern for your specific system.
    • add more tests that stress differences between Gson and Fastjson, if these areas are not covered yet.

Log in to reply
 

Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2