Posts Tagged 'unitTest'

Testing Code Using Serialized Objects

After having written few new methods to enhance a functionality, I needed to test the code. Now the app requires dataset, binning library and various groovy nodes for initialization.  Also it does a lot of pre-processing. So there were two options for me -

  • Hack the code to insert special test methods at a particular point.
  • Write a test class which does all the initializations and then runs the app

I did not want the run the whole app. All I ...

Continue Reading ?
0