Top "Testcase" questions

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.

How to write unit test case for BadRequest?

I want to write Unit test cases for following code HomeController.cs [HttpPost] [ActionName("CreateDemo")] public async Task<IHttpActionResult&…

c# unit-testing nunit testcase
how to add dozen of test cases to a test suite automatically in python

i have dozen of test cases in different folders. In the root directory there is a test runner. unittest\ package1\ …

python unit-testing testcase
What is the use of contextLoads method in Spring Boot Junit Testcases?

This method is empty in all my JUnit test cases. What is the use of this method? Sonarqube is complaining "…

java spring-boot junit testcase spring-boot-test
How to wait and get value of Span object in Selenium Python binding

I have following code in my web page. <div id="" class="user_acc_setails"> <ul id="accDtlUL"&…

python unit-testing selenium assertions testcase
Get number rows in UITableView while unit tests- swift?

I'm writing a test case for UIViewController that has UITableView. I want to ask how can I get number of …

swift uitableview count testcase
0 and 1 - Switch Coverage in State Transition Testing?

This question is not programming related but related to one of test case design the technique. State Transition Diagram technique …

testing testcase black-box-testing
Django UrlResolver, adding urls at runtime for testing

I'm looking to do some tests and I'm not really familiar with the URLResolver quite yet but I'd like to …

django unit-testing url testcase
Google test undefined reference using SetUpTestCase static variable

I am writing a testcase that will have a SetUpTestCase() method that will allocate a shared resource although I am …

c++ googletest undefined-reference testcase
How to import test cases from Excel to VSTS/Azure DevOps

I have a lot of test cases which are currently in Excel that I need to migrate those to VSTS/…

azure-devops migration testcase
Laravel 4 No tests found in TestCase

I'm having some problems with phpunit. When I execute a test, phpunit give me these warnings: 1) Warning No tests found …

phpunit ignore testcase