Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / April 2004

Tip: Looking for answers? Try searching our database.

White Box Testing Java Code

Thread view: 
Jenski182 - 22 Apr 2004 16:15 GMT
Can anybody do this for me? or at least tell me how to do it?
Thanks in advance
Jen x
Stefan Waldmann - 22 Apr 2004 17:02 GMT
> Can anybody do this for me?

do WHAT for you ??

> or at least tell me how to do it?

Have a look at JUnit
http://www.junit.org

> Thanks in advance
> Jen x

Don't mention it.
Bye, Stefan

stefan DOT waldmann AT web DOT de
Jenski182 - 22 Apr 2004 17:15 GMT
http://www.mhhe.com/engcs/compsci/schach5/student/airgourmet.java.java

this is the source code
Christophe Vanfleteren - 22 Apr 2004 17:56 GMT
> http://www.mhhe.com/engcs/compsci/schach5/student/airgourmet.java.java
>
> this is the source code

Are you seriously suggesting that someone tests this code for you?
If so, forget about it, do your own homework.

Signature

Kind regards,
Christophe Vanfleteren

Jenski182 - 22 Apr 2004 22:27 GMT
> or at least tell me how to do it?
i thought i said
Andrew Thompson - 22 Apr 2004 22:44 GMT
>> or at least tell me how to do it?

Perhaps you could get some ideas from
looking at a page I was perusing moments ago..
<http://home.earthlink.net/~patricia_shanahan/debug/>

An excellent starter guide about how
to get into and analyse your code.

That, combined with the general
statement about white box testing..
"...execute all the statements
or branches in the program"

Should get you to the point where
you can ask more specific questions
where you can get further help with
details as required.

The intensive nature of white box testing,
combined with your 2405 lines of code means..

You have a lot of work ahead of you.

Signature

Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology

Andrew Thompson - 22 Apr 2004 18:21 GMT
> http://www.mhhe.com/engcs/compsci/schach5/student/airgourmet.java.java
>
> this is the source code

Just 2405 lines long..

So, let me get this straight,
you just want someone to
"...execute all the statements
or branches in the program"
of ..your code.

How much did you say you
were offering?   ;-)

Signature

Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology

Roedy Green - 22 Apr 2004 18:10 GMT
>Can anybody do this for me? or at least tell me how to do it?

Whitebox testing just means the tester is allowed to peek at the
source code.

Blackbox testing means he is not.

Both have their value.

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.