[NUnitAsp-devl] NUnitAsp Code Generator tool
Brought to you by:
jlittle82
From: David G. <Dav...@un...> - 2005-08-07 13:03:55
|
After a couple of encouraging emails, I've spent a bit of time working on a tool to help with the code generation part of using NUnitAsp. =20 I've put a first-cut here (it is a debug build just in case you make it crash!) =20 http://www.unisanet.unisa.edu.au/staff/davidgardiner/NUnitAspCodeGen/NUn itAspCodeGen-1.0.zip =20 I'd really be interested in hearing feedback on if this is a useful tool. =20 Usage: 1. Enter the URL of the page that you are planning to test. 2. The page will be loaded, and the first FORM's elements will be displayed in a treeview list. 3. You can then click on the various items and code will be generated for that control in the two text windows. 4. Click on the rectangle next to the textbox to drag that text into your class file in a text editor (or select the text and right-click and copy then paste) Future ideas: * Once the basic functionality is working well, I'm thinking it might be more useful to turn it into a Visual Studio addin (or a least allow it to run as an Addin too) * Tweak code generation to allow optional generation of a complete class for a selected page (to which you could then add additional tests. * Support more language CodeDOM generators. -dave =20 --=20 David Gardiner <>< Senior Programmer with UniSAnet Project. Flexible Learning Centre, Underdale Campus, University of South Australia Email: dav...@un... Ph +61 8 8302 1278 Fax +61 8 8302 1288=20 Web: http://davidgardiner.blogspot.com/ =20 |