Peters Flexible RenAmiNg Kit (PFrank) Forum Index Peters Flexible RenAmiNg Kit (PFrank)
Support and Discussion Site for the PFrank File/Folder Renaming Tool (***NEW HOME PAGE*** "http://pfrank.atwebpages.com")
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Automated Testing

 
Post new topic   Reply to topic    Peters Flexible RenAmiNg Kit (PFrank) Forum Index -> Comments
View previous topic :: View next topic  
Author Message
AceZubird



Joined: 30 Oct 2008
Posts: 2

PostPosted: Thu Oct 30, 2008 4:54 am    Post subject: Automated Testing Reply with quote

Hi Peter,

I saw on the home page that you use automated regression testing before each release and was wondering what testing tool you used? I was looking for an automated testing tool, hopefully open source, or free, or at lease inexpensive, and would appreciated any recommendations or comments.

Thanks much. Your renaming tool blows the others out of the water. I love being able to do all the various renaming items in one pass so easily.

--Ace
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 09 Mar 2007
Posts: 448
Location: Canada

PostPosted: Fri Oct 31, 2008 2:52 am    Post subject: Reply with quote

Hi Ace,

The testing is home grown but the components used might be useful to you.

1)
I use cygwin which basically gives you a unix-like environment running on top of windows.
2)
I wrote a test program in python that can be used to call the different renaming objects in PFrank. Note that the non-GUI part of PFrank runs under both cygwin and windows.
3)
there are many test files and folders that are copied from a base location and renamed. The resulting files/folders are then compared with a known correct set of renamed files/folders.
4)
the execution of the test program and verificaton is controlled using a unix bash script.

All of the above is used to test the core renaming since that is the most important part. I don't want to take any chances on a bug messing up someones files/folders.
I haven't had time to set up an auto test for the GUI. That would take a fair bit of research but I think there are some tools in wxpython that could assist with that.

The key is using Cygwin which comes equipped with many tools, compilers, and interpreters.

Hope that helps.

Peter.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
AceZubird



Joined: 30 Oct 2008
Posts: 2

PostPosted: Tue Nov 04, 2008 1:03 am    Post subject: Reply with quote

Thanks for the information. I agree, the core functionality is the most important for regression testing. I hadn't really considered Cygwin, so will have to check out the possibilities. Any kind of automated testing seems to take quite a bit of research and planning so I appreciate the pointers. Keep up the good work.

--Ace
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Peters Flexible RenAmiNg Kit (PFrank) Forum Index -> Comments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


Start Your Own Video Sharing Site

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com