View previous topic :: View next topic |
Author |
Message |
AceZubird
Joined: 30 Oct 2008 Posts: 2
|
Posted: Thu Oct 30, 2008 4:54 am Post subject: Automated Testing |
|
|
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 |
|
 |
admin Site Admin
Joined: 09 Mar 2007 Posts: 448 Location: Canada
|
Posted: Fri Oct 31, 2008 2:52 am Post subject: |
|
|
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 |
|
 |
AceZubird
Joined: 30 Oct 2008 Posts: 2
|
Posted: Tue Nov 04, 2008 1:03 am Post subject: |
|
|
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 |
|
 |
|