Stewart Is this for new or existing software ?
One convention I adopt is to a) code all business logic in reusable BASIC subroutines and b)adopt a single calling convention for those subroutines - in my case this is simply: SUBROUTINE MySub(InData, OutData, ErrText) or in some cases SUBROUTINE MySub(Action, InData, OutData, ErrText) The great advantage of this is that I can easily generate test rigs that push data into InData (dynamic array) and look for expected results in OutData or ErrText (also dynamic arrays). It really simplifies QA, particularly in that I can then create repeatable scripts: testing something once is easy, but regression testing after modifications is just as essential. It also helps that the subroutines can then be called from anywhere: legacy code, UniObjects, Web etc. - anywhere BASIC can be called. Once those are known to be working there is still the interface testing - but at this point you know that the foundations are correct and verified and so tracking through any errors becomes simpler. I've also extended this to a despatcher for one API: this takes a method name as well, and looks up the method in a methods table (useful for documentation and control). The despatcher then becomes a single point containing facilities for logging, debugging, auditing and security and for feeding in test data. Brian Hi All, We are currently looking for a tool to assist with automated testing for universe software written using SB+. So any help or suggestions would be greatly appreciated. Kind Regards, Stewart Mitchell ********************************************************************** This email and any attachments are confidential. They may contain legally privileged information or copyright material. You should not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete the original message and all copies. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. ********************************************************************** ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
