Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to test the backend of GUI progams ?

 
Pamela Hendersen
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The back-end of my GUI program is about 50% complete. It is already so "huge and complex" (already) that it cannot be tested using a console interface. That would involve programming too many complicated loops and such, which is a pain. I did test some small modules while coding, but I doubt if that will suffice. I guess that I will have to develop GUI along the way to test every feature after i create it. Is this the best way or is there a better way to test my code ?



 
Rob Spoor
Sheriff
Pie
Posts: 20495
54
Chrome Eclipse IDE Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To be honest, if you can't test the application without a GUI you have integrated too much of the application logic into the GUI code. It would have been better to have separate "engine" code that just gets triggered by the GUI.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic