about testcases

about testcases

View Answers

July 5, 2008 at 11:46 PM

Hi,

Please check the Junit example at http://www.roseindia.net/junit/writingandtesting.shtml

This example shows you how to add two numbers and then test. I think you can easily modify the add function into subtract function.

Enjoy









Related Tutorials/Questions & Answers:
about testcases - JUNIT
about testcases  can u plz expalin how to write the test cases for sutracting of two numbers  Hi, Please check the Junit example at http://www.roseindia.net/junit/writingandtesting.shtml This example shows you how
Testcases - JUNIT
Testcases   Hi iam doiing project on online reservation i want to know how to write the testcases for this online reservation..........will u help me
Advertisements
ModuleNotFoundError: No module named 'cfme-testcases'
ModuleNotFoundError: No module named 'cfme-testcases'  Hi, My... named 'cfme-testcases' How to remove the ModuleNotFoundError: No module named 'cfme-testcases' error? Thanks   Hi, In your python
testcases - JUNIT
Regarding junit testcases
About struts
About struts  How will we configure the struts
About Java
About Java  Hi, Can anyone tell me the About Java programming language? How a c programmer can learn Java development techniques? Thanks   Hi, Read about java at http://www.roseindia.net/java. Thanks
About jsp
About jsp  Read Excel data using JSP and update MySQL databse
about java
about java  how to get the value from the user like c, c++ program pls explain with example for me
about jquery
about jquery  i want to put already made dropdown menu code which is in internet into my website.but how to put
About Java2
About Java2  sir i want to a develop one text editor but the problem is that i m not able to save our file as text formet or any formet Sir plz guide me
about java1
about java1  Sir, i want to know how we develop 3d button ,lable,textfield etc. in java . sir plz give one program as well Thank you
ABOUT Jtable
ABOUT Jtable  My Project is Exsice Management in java swing Desktop Application. I M Use Netbeans & Mysql . How can retrive Data in Jtable from Mysql Database in Net Beans
About Main
About Main  can u create the object of one interface ? But i can able to create the abstract class through anonimous inner class.similarly can i
About Main
About Main  can u create the object of one interface ? But i can able to create the abstract class through anonimous inner class.similarly can i
about connectivity
about connectivity  hello i am basavaraj,will any one tell me how to use hibernate in struts.   Please visit the following link: Struts Hibernate Integration
About Database
About Database  in my database i enter the date of birth as Birth_Date date but i dont know in which format we can mention the date of birth   In MySQL database, date should be entered in the following format: yyyy-mm
About Jsp
About Jsp  Hello sir, I am developing online Quiz project in jsp using MySql Database. I want to know that How I will show Questions from database One by One on Same page and also want to calculate Result for the User
About Constructor
About Constructor  How many objects are create when this code will execute... String string = new String("Java is best Lang."); tell me the number of object of string which will create . All are those are eligible for garbage
about session
about session  hey i want to insert userid and username of the user who have currently loggedin in servlet using prepared statement   Please visit the following link: http://www.devmanuals.com/tutorials/java/servlet
About Project
About Project  Hello friends i want to make a project on face reconization this is my first projct so please help me that how i start my projct please tell me some working with image codeing. thanks
about a program
about a program  hi can anyone suggest program for this question.. it wil really be helpful.its based on *servlet programming* 1. First page should display a dropdown of mathematical operation (Add, Subtract, Multiply, Divide
About java
About java   how we insert our database data into the jTable in java or how we show database content into the JTable in java   Hi Friend,ADS_TO_REPLACE_1 Try the following code: import
about form
about form  how to dynamically increase the textbox in the 2nd form when i gave any value in textbox of form1 . if i gave 5 in the textbox of form1 , totally 5textbox have to be created in form2.   import javax.swing.
About BufferedReader
About BufferedReader   I have created FileInputStream fstream = new FileInputStream("E:\\TE MODULE\\Main Workspace\\OS PHASE 1\\input.txt"); DataInputStream in = new DataInputStream(fstream); BufferedReader bfr = new
About this tutorial
About this tutorial     ... for their organization.   Information about setting up Simple Cart Information about how features are implemented and explains basic API related
About MYSQL
About MYSQL  is it possible to upload the video on mysql database   1)page.jsp: <%@ page language="java" %> <HTML> <HEAD><TITLE>Display file upload form to the user</TITLE></HEAD>
About Webservice - WebSevices
About Webservice  I wanted to know about WebServices
About the project
About the project       Shopping cart application is an open source project written in Java ,Struts and Hibernate. This  helps  people that want to develop
about J2EE. - Java Beginners
about J2EE.  I know only core Java ... what chapter I will be learn to know about J2EE
about enum - Java Beginners
about enum  hi all, please tell me about "enum" and explain with example. And its use in OOP. Thanks
ModuleNotFoundError: No module named 'about'
ModuleNotFoundError: No module named 'about'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'about' How to remove the ModuleNotFoundError: No module named 'about'
About RoseIndia.net
About RoseIndia.Net RoseIndia.Net  is global services company that understands businesses and aims to deliver value to its customers through its software solutions and services. We are providing
about jboss - Java Beginners
about jboss  can you please explain about jboss...how to deploy,where the temp and lock is there...total information about jboss to use in java message services(JMS
about google map
about google map  how to add google map in website
about google map
about google map  how to add google map in website
doubt about J2EE connetivity
doubt about J2EE connetivity  steps to connect J2EE components with MYSQL
Query about bioinformatics
Query about bioinformatics  Wat is ment by spring? How it useful in bioinformatics
about the base class of file
about the base class of file  what is the basic class of file
About Wicket Framework
About Wicket Framework  I want Wicket Framework tutorials
About Static Class
About Static Class  is it neccessary to create object for static class
Question about a flex...
Question about a flex...  Is there good Future for Adobe flex
about J2EE. - Java Beginners
about J2EE.  I know only core Java ... what chapter I will be learn to know about J2EE.  Hi Friend, Please visit the following link: http://www.roseindia.net/ Thanks
about db - Struts
About DB in Struts  I have one problem about database. i am using netbeans serveri glassfish. so which is the data source struts config file should be? Please help me
about jax-ws - WebSevices
about jax-ws  i want a pdf or document on (basic and clear idea on) JAX-WS
about .net coding
about .net coding  please suggest me the code used for viewing a page in .net language
About interview questions
About interview questions   I want interview questions on IDE's Please send links
about coding - Java Beginners
about coding  hello sir, I want to create session expair, when user is not enter anything in login page session wil expair after 10 min.if user enter its go to success page.plz send me full code about this. thanks
About basics - Java Beginners
About basics  Why we are typing java program in text editor? Why we are running the java program in command prompt
about graph - Applet
about graph  How to draw a graph in applet and that should be display in web browser? How to make a running applet in our browser? for example ticker

Ads