Omgili - forum search, search forums  
  

Discussions about test cases

Displaying 1 - 10 out of 433,705 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.
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.
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.  
Each time you find a bug: If an input condition specifies... .
Most importantly, the test cases are not write-and-forget.
When you are 'done' capturing test cases? You don't.You can't get to 100% except for the most trivial conditions.
Ask your Facebook Friends
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....
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.  
These test suite for the D programming language ) and generally include one or more test cases for every bug ever of test....
To make sure there are no bugs in the test cases: make them small, as in 5-10 lines each.
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.  
If you change method signatures using the automated refactoring, then the test cases - and all such as renames or moves will be automatically reflected in the test cases as long as you refactor you control the generation and....
I am working on a java application which has a lot of use cases. Inputs to the application are different kinds of events occuring at different times. This kind of input gives rise to hundreds of test cases. Has anybody faced this kind of scenario? Do ...
Started by on , 11 posts by 11 people.  
What I'd suggest is to separate the test cases....
Of the approaches would be to group test cases and find a "super" test case by group ! Another one should mind testing time whenever we estimate any project.
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.  
Public void testPawnCanMoveTwoSquaresAheadFromInitialRow (){ [...] //Test application....
One test case = one condition to be tested, some people translates condition to assert the following test case.
tests.
Can anybody tell me how to queue up the NUnit test cases.e.g. if i want to run my 5 test cases in 2,4,1,3,5 order how can i assign them to do so? And where?
Started by on , 3 posts by 3 people.  
All tests should return any external resources they use to the original state....
Actually,I needed this to run a set of individual test cases say, 1) Adding a category test or subset of tests at any time.
Version 2.4.6.
I have a simple CRUD operations that needs to be unit tested These test cases are for DAO layer- so all tests are against the database and hence cant be mocked. So I have one test cases for create another for update and another for read. 1) Should I hard...
Started by on , 3 posts by 3 people.  
The latter part of that last....
The step-by-step tutorial on setting a "test" database, which can be scripted to be re-created on each individual unit test.
test so that each test case gets a "clean" version of the data.
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