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.

Spring JUnit test case failed

I try to run a JUnit test case for ProductDAO class, that is part of the spring web application. But …

java spring junit testcase
Writing a re-usable (parametrized) unittest.TestCase method

Possible Duplicate: How to generate dynamic (parametrized) unit tests in python? I'm writing tests using the unittest package, and I …

python unit-testing testcase parameterized-unit-test
Testing for exceptions with [TestCase] attribute in NUnit 3?

How do I test for exceptions in a TestCase with NUnit3? Let's say I have a method Divide(a,b) …

c# .net exception nunit testcase
java.lang.NoClassDefFoundError:android and junit test

I saw that I'm not the only one having this problem but I don't find a correct answer. I have …

android junit testcase
Java Junit testing problem

I am using Junit 4. My whole program is working fine. I am trying to write a test case. But there …

java unit-testing junit testcase
In TFS, how do I find all Test Cases in a Test Suite with a query (C#)?

With Team Foundation Server, given a WorkItem of type "Test Suite," how can I write a query to select all …

c# tfs testcase test-suite
How to write the positive and Negative test cases of same scenario in java?

I want to write the both test cases whether positive scenario and negative scenario. My sample code is, /** * */ public void …

java unit-testing junit testcase sdlc
comparing querysets in django TestCase

I have a very simple view as follows def simple_view(request): documents = request.user.document_set.all() return render(…

django compare testcase django-queryset
No tests found for given includes: [***Test](filter.includeTestsMatching)

I am using Intellij 2019.2 to run gradle test cases, however, I keep getting the following exception. According to some posts, …

java gradle intellij-idea testcase
How to check the exception thrown correctly by PHPUnit?

I have div() in Cal class in my CalTest class has following methods to test the div(). public fucnction div($…

php exception phpunit testcase