Omgili - forum search, search forums  
  

Discussions about test case

Displaying 1 - 10 out of 433,354 discussions.  
RSS Feed Options
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
I'm using JUnit.I have a test method to test a method and some test cases. I want to run all tes case in that test method, but I can't do that. When first test case fail, test method don't run second test case Here is my code public class ComputeServiceTest...
Started by on , 3 posts by 3 people.  
A test case....
You can use a setUp method.
The standard advice here would be to put your second test case into a separate method, then it will run regardless of whether or not the first "test case" succeeds or not.
The term test case used a lot, but what does it actually mean? Test case as Fixture: http://en.wikipedia.org/wiki/Test_case A test case in software engineering is a set of conditions or variables under which a tester will determine whether an application...
Started by on , 4 posts by 4 people.  
For example: if( x < 3 ){ }....
"case" means "an example of something".
Http://dictionary.reference.com/browse/case an instance of the occurrence, existence, etc., of something: Sailing in such a storm was a case of poor judgment.
Hi, I need to create a unit-test for some python class. I have a database of inputs and expected results which should be generated by the UUT for those inputs. Here is the psuedo-code of what i want to do: for i=1 to NUM_TEST_CASES: Load input for test...
Started by on , 4 posts by 4 people.  
(We with static data for the....
Use this to generate the required unittest code.
Write a little script that does the "Load input for test case i", and "Load expected result for test case i".
(What we do).
You have two choices.
Ask your Facebook Friends
I'm looking at using the Dojo Objective Harness (DOH) for testing some custom JavaScript code. To that end I've read the following article: http://www.ibm.com/developerworks/web/library/wa-aj-doh/index.html and I have a question about the test case structure...
Started by on , 3 posts by 3 people.  
For example, the Dojo Core tests.
It over, and modify the URL in it to point to my own test module.
This is a "design/architecture" question and so you don't need to provide me technical details. I can find examples on the internet all day long that show how to run a xunit unit test, log test results, and how to show if it succeeds or fails but every...
Started by on , 3 posts by 3 people.  
I agree tests (as opposed to integration ....
Get started, start small, keep it simple, grow the test design with time.
As for the 'testing framework', maybe YAGNI maybe you do.
Although not technically an acceptance test.
I'm just getting into unit testing, and have written some short tests to check if function called isPrime() works correctly. I've got a test that checks that the function works, and have some test data in the form of some numbers and the expected return...
Started by on , 9 posts by 9 people.  
As many cases as you need to feel comfortable/confident also in general, test the base/zero case, the maximum case, and at least one median/middle case also test expected-exception cases, if applicable....
Let's say we have a simple function defined in a pseudo language. List<Numbers> SortNumbers(List<Numbers> unsorted, bool ascending); We pass in an unsorted list of numbers and a boolean specifying ascending or descending sort order. In return...
Started by on , 6 posts by 6 people.  
Don't test when you are 'done' capturing test cases....
Striving for 75-90% will give you pretty good coverage without going overboard.. .
Time a bug does surface, write a new test specifically for that bug so that you never hear.
Compilers like all software, would also be prone to bugs, logical errors. How does one validate the output generated by the compiler. Typically, my question is(are) How to validate that the machine code generated is correct? How to ensure that the machine...
Started by on , 6 posts by 6 people.  
It consists of a large set of C code specifically written to test against to make sure there are no bugs in the....
We've had some luck using the Plum Hall test suite for a C compiler.
There are several compiler test suites out there.
Should I do Test1(){ Assert(TestCase1); Assert(TestCase1); Assert(TestCase3); ... } or Test1(){ Assert(TestCase1); } Test2(){ Assert(TestCase2); } Test3(){ Assert(TestCase3); } ... Note: All test cases are intimately related. There is only boolean differences...
Started by on , 4 posts by 4 people.  
But, in....
Public void testPawnCanMoveTwoSquaresAheadFromInitialRow (){ [...] //Test.
One test case = one condition to be tested, some people translates condition to assert the following test case.
tests.
I know it is possible to create a TestCase or TestSuite with the wizard within JUnit, but how does one sync the code after the class under the test has been modified, such as method signature modification or newly added methods. I would like my TestCases...
Started by on , 4 posts by 4 people.  
As has been mentioned before, refactorings such as renames or moves will be automatically... .
If you change method signatures using the automated refactoring, then the test cases - and all of a way to have the test class automatically updated.
Page: 1   2   3   4   5   6   7   8   9   10  
Related Searches
drug testing cases   
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost