answersLogoWhite

0

How do you test your code?

Updated: 12/14/2022
User Avatar

Wiki User

16y ago

Best Answer

Hi, Prepare unit testing test cases. Take each control/object in your progra, write test case (what to enter, alpha or numeric or alpha/numeric, date etc) and what are you expecting from the system once you enter the data. Try all options that you have provided (like Add, Change, Display, Print etc) and see whether the program functions as per the requirement. The program should do intended functions and no un-intended thing to happen. hope this helps

User Avatar

Wiki User

16y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you test your code?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the code of concrete core test?

concrete core test


Whati is Constructor overloading?

Constructor overloading is the feature by which we declare multiple constructors for a single class. Ex: let us say we want to create multiple constructor for a class Test Public class Test { Public Test() { //code } Public Test(int vals) { //code } Public Test(String val) { //code } }


What is the voltage can be used for holiday test based on coating thickness and what is reference code for this?

http://wiki.answers.com/Q/What_is_the_voltage_can_be_used_for_holiday_test_based_on_coating_thickness_and_what_is_reference_code_for_this"


Take an array of 5 numbers and find smallest and largest elements?

There are many ways to do this. One way is to import "java.util.Arrays;." Then you can make your array of numbers. For example int[] test = {4, 123, 432, 314}; Then later on in the code you can use Arrays.sort(test); That will sort it from min to max. Then to output it. System.out.println(test[0] + " " + test[length-1]);


What is looping in c plus plus?

A loop in computer languages is a set of statements that execute repeatedly, based on some criteria.In C and C++, the three looping statements are while, do, and for...while (test-expression) statement;/* statement executes zero or more times, until test-expression is false, test first */do statement while (test-expression);/* statement executes one or more times, until test-expression is false, test last */for (init-expression, test-expression, loop-expression) statement;/* init-expression executed once, at beginning *//* statement executes zero or more times, until test-expression is false, test first *//* loop-expression evaluated at end of each iteration */Often, statement, is a set of statements, such as...while (test-expression) {... statements}

Related questions

What is the cpt code for inkblot test?

what is the cpt code for ink blot test


What is the airport code for Tonopah Test Range Airport?

The airport code for Tonopah Test Range Airport is XSD.


What is the code of concrete core test?

concrete core test


Code for Bernstein test for esophagitis?

CPT code 91030


What cpt code is associated with revenue code 0360?

test


What is the ICD-9 code for history of positive PPD test in the past - 795.51?

The PPD test is the test for tuberculosis. The correct code for a positive test in the past is V12.01 for a personal history of tuberculosis.


What is medical billing code 85018?

It is a blood test for Hemoglobin. This is one test for Anemia. Hematocrit is billed with code 85014.


What is the medical code for the blood test for lacosamide?

There is no specific code for a lacosamide test. CPT Code 80339 is a possible code choice. Another option is 80299, according to some of the major labs.


What is the medical code for blood test for lacosamide?

There is no specific code for a lacosamide test. CPT Code 80339 is a possible code choice. Another option is 80299, according to some of the major labs.


FLVS Final exam test code?

safety is the accses code


What are the Lego mission to Mars cheats?

The code 'moneypenny' is for all of the cheats, except test mode. The code for test mode is 'beeblebrox'.


What is parameterised constructor?

A parameterized constructor is one that takes multiple arguments/parameters as input. Ex: let us say we want to create multiple constructor for a class Test Public class Test { Public Test() { //code } Public Test(int vals) { //code } Public Test(String val) { //code } }