Anything you feel familiar with and suitable will work for me.
Thanks
Fred
> Andr�
We currently have the following matrix:
wxPython 2.6 wxPython 2.8
source
Linux
Windows
Mac
Binary
Linux
Windows
Mac
The points to be tested based on previous bugs are:
- language switching
- arrow keys
- speed slider
- world loading
- world refresh
- help in simple editor
- launching from command line
- launching from menu
and we can probably add a bit more where we didn't have any bug but they
could appear.
Then next release extra tests (due to new features or new behavior)
- load/save code, world and simple editor files
- UI display in different startup sizes (font differences might generate
scrollbars)
Do you see anything to add and how do we proceed?
Also I noticed some code has been written for wxPython 2.4, shall we
also try to support that version?
I do have some spare hosting space for us to host stuff if necessary.
Fred
ps: i already sent that email but it apparently never reached the list.
Hi,
this matrix refers to regression tests which are to verify the built
and deployed software. A unit test is to verify a single code unit so
that the developer can detect failures after a code change.
The Python standard library has some test modules:
- doctest (test single function based on interpreter response)
- unittest (test single class or module)
- test (regression test)
I suggest to start with these. A doctest can be part of a unittest
which can be part of a regression test. Testing GUIs is notoriously
difficult to automate. A first step to make this easier would be to
separate application logic from wxPython code. Unit tests work best on
coherent units with well defined interfaces. So I think that some
further refactoring of the code base is advisable to make good use of
unit tests.
> Also I noticed some code has been written for wxPython 2.4, shall we
> also try to support that version?
wxPython 2.4 is 7 years old. There was a transition from wx as a name
prefix to wx as a package during or after the 2.4 release with
considerable changes in the code base. So I advise strongly against
2.4 compatibility. I think we all work on rur-ple for fun in our spare
time. Supporting many trivial variations of the same stuff for
compatibility is not very funny :)
Regards, Peter
(Testing unicode, please ignore: <äöüß所有網頁>)
Regarding python 2.4 support I have no idea about the work involved. In
fact I just see that every other version of wxPython breaks backward
compatibility and is therefore a pain to maintain. My only concern is
about supporting old hardware. I work a lot with either slow or recycled
PCs and sometimes only Win'98 runs well on it (quite rare though). We're
talking in general Pentium III @ 500MHZ with 256MB of ram. So maybe I
should rephrase my concerns with the following question:
what's the minimum requirement for wxPython and Python to get RUR-PLE
running on this kind of hardware?
Thanks a lot.
Fred
You are right. But the aforementioned prefix-to-namespace transition
was
a really deep cut. We could write the GUI twice to support it or write
a
very thick compatibilty layer.
> My only concern is
> about supporting old hardware. I work a lot with either slow or recycled
> PCs and sometimes only Win'98 runs well on it (quite rare though). We're
> talking in general Pentium III @ 500MHZ with 256MB of ram. So maybe I
> should rephrase my concerns with the following question:
> what's the minimum requirement for wxPython and Python to get RUR-PLE
> running on this kind of hardware?
I don't have the hardware to really answer your question exactly :)
but running
rur-ple shouldn't be a problem on the system you mentioned. My weakest
Computer is a Pentium III @ 800 MHz witz 512 MB RAM. I don't observe
even the
tiniest problem. rur-ple with wxPython 2.6 uses 30 MB right after the
start.
Building a list of 1 million integers adds 7 MB. So there's really no
need to support
wxPython 2.4.
Regards, Peter.
Peter Maas, Aachen, Germany
Thanks for clarifying. I am not much of a developer (last lines of code I wrote were in Turbo Pascal in the early 90's). Then considering the work involved we could wait for v2.0 (I understood it needed rewriting...)? I will still try to read a bit more about those test modules you're referring to, can't be bad for me anyway...
Regarding python 2.4 support I have no idea about the work involved. In fact I just see that every other version of wxPython breaks backward compatibility and is therefore a pain to maintain. My only concern is about supporting old hardware. I work a lot with either slow or recycled PCs and sometimes only Win'98 runs well on it (quite rare though). We're talking in general Pentium III @ 500MHZ with 256MB of ram. So maybe I should rephrase my concerns with the following question:
what's the minimum requirement for wxPython and Python to get RUR-PLE running on this kind of hardware?
We currently have the following matrix:
wxPython 2.6 wxPython 2.8
source
Linux
Windows
Mac
Binary
Linux
Windows
Mac
The points to be tested based on previous bugs are:
- language switching
- arrow keys
- speed slider
- world loading
- world refresh
- help in simple editor
- launching from command line
- launching from menu
and we can probably add a bit more where we didn't have any bug but they
could appear.
Then next release extra tests (due to new features or new behavior)
load/save code, world and simple editor files.
Do you see anything to add and how do we proceed?
I do have some spare hosting space for us to host stuff if necessary.
Fred