Re: [Evolution-hackers] evolution-kolab: on (Unit) testing again

2010-09-16 Thread Christian Hilberg
Hi,

On Friday 16 Juli 2010 Matthew Barnes wrote:
 On Fri, 2010-07-16 at 15:54 +0200, Christian Hilberg wrote:
  Within our project it has been brought up that POSIX shell scripts might
  be a good choice in order to keep a low profile depencency-wise.
  Personally, I would prefer a higher-level scripting language which will
  offer more facility (esp. when it comes to mocking certain services or
  other complex things which will be a little bit painful to do in shell
  scripts). Nonetheless, I can perfectly understand the reasons if one
  prefers POSIX shell or something the like.
 
 I think Python would be the most palatable choice for GNOME software.
 And you should be able to rig up a mock service pretty easily with the
 libraries it provides.

python has been accepted as the one single language for scripting within the 
evolution-kolab project, with an if-ever-needed-fallback, which is POSIX shell 
script (which we will try to avoid since python should be even more portable 
today than POSIX shell scripts are).

Best regards,

Christian

-- 
kernel concepts GbRTel: +49-271-771091-14
Sieghuetter Hauptweg 48Fax: +49-271-771091-19
D-57072 Siegen
http://www.kernelconcepts.de/


signature.asc
Description: This is a digitally signed message part.
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] evolution-kolab: on (Unit) testing again

2010-07-16 Thread Christian Hilberg
Hi all,

regarding Unit-testing our plugin, we've settled on the GLib Testing framework 
and Unit tests written in C.

Now, when doing integration testing, we will certainly try to automate a few 
things.

Question is: does there exist a preferred scripting tool / language within the 
Evolution community for doing integration testing? I assume there is no 
preference so far, but maybe there are some thoughts about which route the 
Evolution project would like to take in future.

Within our project it has been brought up that POSIX shell scripts might be a 
good choice in order to keep a low profile depencency-wise. Personally, I 
would prefer a higher-level scripting language which will offer more facility 
(esp. when it comes to mocking certain services or other complex things which 
will be a little bit painful to do in shell scripts). Nonetheless, I can 
perfectly understand the reasons if one prefers POSIX shell or something the 
like.

This is not meant to start holy wars. Still, I'd be interested in opinions 
(specially from the elders here :) about the topic so we can make a good 
decision.

Many greetings,

Christian

-- 
kernel concepts GbRTel: +49-271-771091-14
Sieghuetter Hauptweg 48Fax: +49-271-771091-19
D-57072 Siegen
http://www.kernelconcepts.de/


signature.asc
Description: This is a digitally signed message part.
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] evolution-kolab: on (Unit) testing again

2010-07-16 Thread Matthew Barnes
On Fri, 2010-07-16 at 15:54 +0200, Christian Hilberg wrote:
 Within our project it has been brought up that POSIX shell scripts might be a 
 good choice in order to keep a low profile depencency-wise. Personally, I 
 would prefer a higher-level scripting language which will offer more facility 
 (esp. when it comes to mocking certain services or other complex things which 
 will be a little bit painful to do in shell scripts). Nonetheless, I can 
 perfectly understand the reasons if one prefers POSIX shell or something the 
 like.

I think Python would be the most palatable choice for GNOME software.
And you should be able to rig up a mock service pretty easily with the
libraries it provides.

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers