This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes B&S: How the examiner to test delete and create function in database? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "B&S: How the examiner to test delete and create function in database?" Watch "B&S: How the examiner to test delete and create function in database?" New topic
Author

B&S: How the examiner to test delete and create function in database?

lambertlee Li
Ranch Hand

Joined: Dec 15, 2005
Posts: 52
My instructions said on GUI I am just required to supply search/book(update) function. So from GUI side I don't provide the delete/create functionality. Then how the examiner to test my delete/create method on my database server?
Nicolas Stern
Ranch Hand

Joined: Apr 26, 2002
Posts: 57
Hi,
I'm in the same situation: my GUI requirements just state that I must implement the select and update function, but my DB interface states that I have to implement the delete functionality.

To test the delete functionality of the DB interface, I just write a test class that calls the appropriate delete method with appropriate arguments. I guess the Examiner will do the same.

HTH - Cheers - Nic
Jeroen T Wenting
Ranch Hand

Joined: Apr 21, 2006
Posts: 1847
he can test them the same way you can: by writing a small test application and running that.
As the API is pretty standard between assignments, they can even have a large part of it predefined and just need to ask some launching stubs to interface with yours.


42
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: B&S: How the examiner to test delete and create function in database?
 
Similar Threads
NX: Create, delete, and read in GUI
B&S: create/delete/update in the GUI?
NX: Data.java - method implementation
create() and delete() usage
NX: (Contractors) File I/O class