Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Unittests?

From: robert:muench:robertmuench at: 2-Nov-2002 10:25

> -----Original Message----- > From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]] > On Behalf Of Andrew Martin > Sent: Friday, November 01, 2002 9:20 PM > To: [rebol-list--rebol--com] > Subject: [REBOL] Re: Unittests? > I think just a simple script would be sufficient to do this. > Just click on it and execute the library unit tests. And if > one wants to, just put: do %UnitTests.r > in the %User.r file, to get it done on every startup.
Well, this seperates the unit-tests from the application code. But it makes more sense to execute unittests within the context of your application to see if you got some side-effects. That's why I want to do unittests from the application code, not only for the library codes. Robert