-1

I have a Python and a Java application (GUI) that communicate with each other using networking.

What strategy should I use to perform testing, ie. that if I change anything in the Python or Java code, the flow between the two will not be broken in unexpected ways?

peu ping
  • 399
  • 1
  • 6
  • 14

1 Answers1

0

You could write an integration test that spools up the two projects socket code in a test harness that performs the communication you want to test. Perhaps you want to do this from Python by starting the python process and then using subprocess to call the Java code link in this example. Python: How can I execute a jar file through a python script

Community
  • 1
  • 1
jeremyjjbrown
  • 7,772
  • 5
  • 43
  • 55