On May 6, 2005, at 1:16 PM, Kyle Jessup wrote: > On May 5, 2005, at 7:41 AM, Clive Bruton wrote: > >> If I have an include (sub-routine) that I want to execute, to >> test/debug >> can I feed it the vars it needs, or isolate it some other way, to >> run >> just that piece of code? >> >> Something like: >> >> run 'hello/world/my.inc' with ($one='one', $two='two', >> $three='three'...) >> >> My general code methodology is to use includes as sub-routines, to >> keep them both discrete and reusable, so this kind of method would be >> invaluable. > > Besides fabricating and running a test page which sets up the vars, > etc. and includes the file, no, there isn't a way to to that at this > time.
I have wondered this, but have not had time to try any testing at this level.
Considering a modern Lasso application is pretty much entirely made up of includes, ctags, ctypes, etc, how can any code actually be "run" and tested then?
Does that have to take place at the full page level? So, to run code you actually run a full page URL? The code can only be run once there is a full page to test? Is that how it works?
Component testing is complicated business, so I'm not complaining, just wondering how it works.
-- greg willits
-- ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassostudiotalk.lasso Manage your list subscription: http://www.listsearch.com/lassostudiotalk.lasso?manage
May 06
Fletcher Sandbeck Re: LS Eclipse and Includes
May 06, 2005; 16:57
Fletcher Sandbeck
Re: LS Eclipse and Includes
May 06
Greg Willits Re: LS Eclipse and Includes
May 06, 2005; 17:05
Greg Willits
Re: LS Eclipse and Includes
May 06
Fletcher Sandbeck Re: LS Eclipse and Includes
May 06, 2005; 17:25
Fletcher Sandbeck
Re: LS Eclipse and Includes
May 06
Greg Willits Re: LS Eclipse and Includes
May 06, 2005; 17:31
Greg Willits
Re: LS Eclipse and Includes
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!