Hi,
I recommend that you read one or more of the articles at junit.org to get an
idea of the kind of test cases that are needed. You can use Junit if you
like, but assert is fine, and less to learn. Just start to create simple,
basic tests cases, e.g. If you set location (12, 42) of an image to be
Color.RED, then when you get the color of (12, 42) it should return
Color.RED.
After you read the article(s), make your best guess about how the testing
should go, and then send a note to the mailing list so that I (and others
--- help would be appreciated from anyone!) can look at them and modify them
if necessary.
Toby
On 5/13/05 2:30 PM, "he...@sf..." <he...@sf...> wrote:
> Hi! Dr. Donaldson,
>
> Yes, I can work on that.
> I will follow this site's ideas on doing the testing if this is what you
> have in mind:
> http://www.junit.org/index.htm
> http://junit.sourceforge.net/
> http://junit.sourceforge.net/doc/testinfected/testing.htm
>
> Currently, I am able to run the code and observe what's going. All I need to
> know is how much time do you expect me to get done? "Every important method
> in TheMatrix should have a set of tests of autmotated unit tests" When
> should this be due normally? I just solved my laptop problem by the way, at
> the end I got rid of the spyware and everything fine now. I can help on
> spyware problems if anyone ever need help.
>
> best wishes
>
> Henry Chan
>
>
>
> On Fri, 13 May 2005 14:14:04 -0700 tj...@sf... wrote:
>> Hi Henry,
>>
>> Do you want to create a new package called "tests" in the csimage package
>> (and any other package that you create tests for).
>>
>> Since it looks like we're going to re-design TheMatrix class, I want
>> to have
>> unit tests in place before making big changes. Every important method in
>> TheMatrix should have a set of tests of autmotated unit tests for it
>> so that
>> we can be confident the changes don't break it.
>>
>> Toby
>>
>>
>> On 5/7/05 7:37 PM, "henryc" <he...@sf...> wrote:
>>
>>> Hi! All, the problem on setting up is missing file from Java media
>>> framework and FreeTTS.
>>> Also, it is important that to go to compiler setting in Eclipse and set
>>> all to version 1.4.
>>>
>>> http://java.sun.com/products/java-media/jmf/2.1.1/download.html
>>> http://freetts.sourceforge.net/docs/index.php#download_and_install
>>>
>>> Set path by going to the project property, click edit and enter the path
>
>>> of the jar file for JMF.jar which is the java media framework (in lib or
>
>>> bin directory usually) and same idea as for FreeTTS.
>>>
>>> Testing, I realize that I should go in the direction of Junit for
>>> testing. The webmatric problem so far is the buttons are not draw as the
>
>>> same equal size after resizing the frame and relocating the buttons
>>> location from button to the left, etc.
>>>
>>> Redjustice
>>>
>>>
>>> -------------------------------------------------------
>>> This SF.Net email is sponsored by: NEC IT Guy Games.
>>> Get your fingers limbered up and give it your best shot. 4 great
>> events, 4
>>> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
>>> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
>>> _______________________________________________
>>> csjava-developer mailing list
>>> csj...@li...
>>> https://lists.sourceforge.net/lists/listinfo/csjava-developer
>>>
>>
>> --
>> Dr. Toby Donaldson
>> School of Computing Science
>> Simon Fraser University
>>
>>
>>
>
>
> Thank you for your time.
>
> best wishes,
>
> Henry Chan
> Computer Science Major
> Simon Fraser University
>
>
>
--
Dr. Toby Donaldson
School of Computing Science
Simon Fraser University
|