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 do I put new List<int> {1} in an NUNIT TestCase?

I have the method: public static int Add(List<int> numbers) { if (numbers == null || numbers.Count == 0) return 0; if (…

c# tdd nunit testcase
NUnit cannot recognise a TestCase when it contains an array

This is quite simple but annoying behaviour I am running into with NUnit: I have some tests like this: [Test] […

c# unit-testing nunit testcase
Restart failed test case automatically in TestNG/Selenium

I am using Selenium webdriver, in Java with TestNG to run an X amount of test cases. What I would …

selenium testng restart testcase
Test cases for string inputs

What are some useful test case ideas (and test questions) related to string inputs? Usefulness need not mean applicable everywhere …

testing wiki testcase
How to use TestCase in NUnit 2.5?

I have a Currency class which I persist to my database using NHibernate. Currency class looks like this: public class …

c# unit-testing nunit testcase
How do I effectively implement the MVVM design pattern for my android app which will also ease writing of test cases?

I am planning on implementing the MVVM architectural design pattern for my android app. I have read online that it …

android mvvm testcase
How to write Test Cases?

I want to learn how to write test cases before writing the code. I read an article about test-driven development. …

c# testing testcase
abstract test case using python unittest

Is it possible to create an abstract TestCase, that will have some test_* methods, but this TestCase won't be called …

python unit-testing testcase
In agile like development, who should write test cases?

Our team has a task system where we post small incremental tasks assigned to each developer. Each task is developed …

testing project-management agile testcase
overloading unittest.testcase in python

I'm trying to create a custom unit test framework by sub-classing the unittest.testcase class but seem to make a …

python constructor testcase