Questions tagged [testcase]

A test case in software engineering is a set of conditions or variables under which a tester will determine whether an application or software system is working correctly or not.

A test case is also defined as a sequence of steps to test the correct behavior of a functionality/feature of an application. A test case is a set of conditions or variables under which a tester will determine if a requirement upon an application is partially or fully satisfied. It may take many test cases to determine that a requirement is fully satisfied. In order to fully test that all the requirements of an application are met, there must be at least one test case for each requirement unless a requirement has sub requirements. In that situation, each sub requirement must have at least one test case. Generally Senior tester writes test cases and after verification and approval the junior testers carry out execution of test cases.

998 questions
-1
votes
1 answer

Karate doesn't check cases if expected number is a larger, how do I handle it?

I have given match response as #number But for a value of 15547786385661 the case just gets skipped.how do I handle it?
Knight
  • 59
  • 7
-1
votes
1 answer

Web Service Test Cases

I have recently move to web service testing. I need sample test cases for reference. Can any one please provide me the sample test cases written in excel for GET method, POST and PUT method. Please tell me how to write test cases for testing search…
-1
votes
2 answers

Which test fixture will run after executed all test case in python?

I am writing the test case in python. I need to delete the folders after completed the all the test cases, which test fixture can be used to run after completing every thing. So that I could perform clean up operation Thanks in advance
ArockiaRaj
  • 588
  • 4
  • 17
-1
votes
1 answer

Creating a test case in tfs 2015 by rest api version 2.2

I'm trying to create a new test case at the TFS throw Postman by sending a PUT request with an application/json but get "Message": "The requested resource does not support http method 'PUT'." I tried to use X-HTTP-Method-Override but i get the…
Gal I.
  • 201
  • 3
  • 12
-1
votes
2 answers

How to write junit test for after getting response in Android

I have this below code.I want to write junit test for this method. @Override public void getSuccessData(Response response) { if(response.getStatus().equalsIgnoreCase("success")){ …
Ravi kumar
  • 41
  • 1
  • 2
  • 9
-1
votes
1 answer

VSTS passed test cases value variable to write custom condition in build definition

I want to check test cases passed(highlighted in below snap) value and compare with some threshold and if test case passed value is more than threshold then run next task from build
-1
votes
2 answers

issue with object oriented programming

hi I am new to java. I have to write test case for this method in java, public class ABC{ public void updateUser(String emailId, HashMap hm) { String updateKey = createUniqueUserKey(emailId); int noOfColumn =…
swarup7m
  • 183
  • 1
  • 2
  • 12
-1
votes
1 answer

Mockito: No such instance method

I'm writing testcases for below given method. Method: @Override public void removeAllConnections(String uuid, String userName, String oimId) { customLogger.debug(Thread.currentThread().getStackTrace()[1].getMethodName(), userName, null, null,…
Pratik Ambani
  • 2,523
  • 1
  • 18
  • 28
-1
votes
1 answer

TFS Test Case Attached File is good for ..?

Is there any chance to use an attached file (to an automated test case) to be copied to the test agent and open them in the test method? Or is it only a documentation attachment?
Zoltan Hernyak
  • 989
  • 1
  • 14
  • 35
-1
votes
1 answer

Unit Test Cases with Mocking repository on real data not fake data

I have a basic understanding of Mocking and fake objects, and passing the fake data for Unit test case methods. But is it possible that we can use actual data return by our repositories instead of creating our own fake data to our Unit test…
mayank gupta
  • 341
  • 1
  • 4
  • 16
-1
votes
1 answer

Test case failed with org.junit.ComparisonFailure

While having the unit test case writing for French and Czech localization, on doing assertThat(formattedDecimal).isEqualTo("8 771,23"); where formattedDecimal is a string , had a result org.junit.ComparisonFailure: Expected :"8 771,23" Actual …
Jitesh Upadhyay
  • 5,244
  • 2
  • 25
  • 43
-1
votes
1 answer

use output test case with other test case in input value, RIDE/robot framework

I have a probelm to use an output from a test case to use it with another test tase like input value ! did you have an idea how to do that ?
Dali
  • 25
  • 1
  • 6
-1
votes
1 answer

SOAPUI JDBC MS SQL query is not working (TestSuite)

I'm using SOAPUI to test a webservice I developped. I'm actually trying to configure a TestSuite with a JDBC call to a MS SQL database. I succeeded in adding the jdbc jar files for MSSQL. The connection string is working. The only problem I have is…
Jsncrdnl
  • 3,005
  • 5
  • 28
  • 43
-1
votes
1 answer

Using Java method's returned List as output in another method of another project

I have a Java class called TestInfoFinder in Project1 that extends TestCase as below: public class TestInfoFinder extends TestCase { private ClassFinder classFinderService = null; public void setUp() { classFinderService = new…
Pratik Jaiswal
  • 309
  • 7
  • 26
-1
votes
2 answers

Unexpected failure on JUnit test when using assertEquals

I want to make a simple test to check the name attribute of my class Player using JUnit's assertEquals method. When I run the JUnit test, I get a failure with a warning(AssertionFailedError: No tests found in PlayerTest), what am I doing…
mpz
  • 29
  • 6