I am looking for a testing tool for VB code that can test field and form level validations. Is it possible to have something like following:
- I supply the source code to the tool.
- The tool parses the code and identifies / understands variable declarations from the code and scripts.
- The tool also identifies field level validations from the scripts.
- The tool generates and executes test cases for field / form validations, boundary values, different datasets etc.
Is there any third party tool like this available? If not, can I get some base code which I can develop further to build my own tool / function?
I don't know exactly how it works - like if you have to develop code in the tool or can supply the code afterwards, but there are tools that come close and do more. IBM's Rational Rose and Compuware's DevPartner are 2 examples. DevPartner will perform code coverage testing and track what functions have been tested. Rational Rose will even create end-user test cases if you progarm the business logic in (but who does that?).
No idea if they work w/VB, but there are tools out there along those lines of what you are talking about...