[Gambas-user] Issue 563 in gambas: Add unit testing

gambas at ...2524... gambas at ...2524...
Wed Sep 24 13:18:02 CEST 2014


Updates:
	Status: Accepted
	Labels: -Type-Bug -Priority-Medium Type-Enhancement Priority-Low

Comment #1 on issue 563 by tabo... at ...626...: Add unit testing
https://code.google.com/p/gambas/issues/detail?id=563

Before we get to unit tests from source code comments, we first need a unit  
test system at all! And if we do that, we might as well make it capable of  
more than running a single function. (For instance, what if you want to  
test methods of a class which only alter the object's state and not return  
a value; or if your function returns an object of which you want to examine  
multiple properties?)

May I add to this feature request the following ideas (in the form of a  
TODO list) which came up recently at gambas-club.de:

  1. Write a stand-alone unit test program for Gambas classes, which can  
read specifications from files;
  2. Integrate that into the IDE (a new special directory in the project  
hierarchy would be nice to store unit test files for a project);
  3. Add that doctest clone on top of that system.

This looks like a longer-term project. IMHO a nice thing to have. Comments?

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings




More information about the User mailing list