Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
unit testing advice
I'm looking for a basic concept to test classes.
Ideally something equivalent to junit in java, so you can do unit regression testing easily. I've tried vbLite, but had problems getting it's test runner form to work in VBA. Anyone have any favorite test standards or links to articles on the subject they recommend? TIA |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
unit testing advice
You might need the functionallity of VB.NET. Do you absolutely need to
run this code in a macro? VB.NET uses Try ... Catch ... Finally ... End Try *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
unit testing advice
I would like it Claud, and without needing to go to vb.net.
What you've outlined is net's error handling mechanism, which is pretty much how java does it. Much better than VBA does, but it's still not unit testing. Thanks anyway! "Claud Balls" wrote in message ... You might need the functionallity of VB.NET. Do you absolutely need to run this code in a macro? VB.NET uses Try .. Catch .. Finally .. End Try *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
unit testing advice
Hi Eric,
I'm looking for a basic concept to test classes. Ideally something equivalent to junit in java, so you can do unit regression testing easily. I've tried vbLite, but had problems getting it's test runner form to work in VBA. Anyone have any favorite test standards or links to articles on the subject they recommend? Unfortunately, I don't know of any automated/wrapper forms to simplify the process. I find the best results are obtained by a manual inspection of the code to test in order to identify some test data that will ensure all the logic conditions are exercised, then write a wrapper routine to fire all the test data at the class and check the results. Regards Stephen Bullen Microsoft MVP - Excel www.oaltd.co.uk |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I set the unit value on the x-axis? | Charts and Charting in Excel | |||
Unit Compatibility | Excel Discussion (Misc queries) | |||
Unit Forcast | Excel Worksheet Functions | |||
CF for over/under mean unit | Excel Worksheet Functions | |||
Need help with unit formulas | Excel Worksheet Functions |