Test Suite: A set of several test cases for a component or system under test, where the post condition of one test is often used as the precondition for the next one.
Questions tagged [test-suite]
320 questions
8
votes
1 answer
PHPUnit: Filter only for one testsuite
In PHPUnit it is posible to organize the tests in different testsuites:
./AlbumTest
…

automatix
- 14,018
- 26
- 105
- 230
8
votes
2 answers
Setting Test Suite to Ignore
I have many Test Suites with each one contains many Test Classes. Here is how they look like:
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import…

adranale
- 2,835
- 1
- 21
- 39
7
votes
3 answers
send parameters from test suite to test case in junit 4
I've got four junit cases and I need to pass them a parameter, that is the same for all of them, but this parameter is created in a dynamic way in the test suite. How can I pass a parameter from the test suite to all the tests in the test case?

Alexander Herrera
- 73
- 1
- 4
7
votes
1 answer
No runnable method in JUnit test Suites (Initialization error)
I am trying to implement JUnit TestSuites with my 3 Test Classes and run them at the same time.
But when ever I run that test suite it gives me error as Initialization Error with "No runnable method found."
This is my test Suite class named as…

Swapnil Ghule
- 149
- 1
- 8
6
votes
2 answers
How do you create nested TestSuites in JUnit 4.x?
I'm trying to add JUnit to a large project and am having difficulties nesting test suites. For example:
@RunWith(Suite.class)
@Suite.SuiteClasses({Test2.class, .....})
public class Test1{
}
@RunWith(Suite.class)
@Suite.SuiteClasses({Test3.class,…

Spyder
- 63
- 1
- 7
6
votes
1 answer
Cypress: How to retry entire test suite?
Goal
Be able to perform multiple retries of an entire test suite until all tests succeed.
Instead of configuring retries allowed for every test within a test suite, as defined by Configure Test Retries: Global Configuration
How to provide test suite…

Jeff
- 1,917
- 1
- 25
- 43
6
votes
1 answer
How to run Categorized Junit tests using Gradle?
My Question is similar to this question, but it refers to Gradle not Maven.
I have marked several tests within my project with the @Category annotation, and created my Test Suite (See below).
How do I run this using Gradle?
Test…

java123999
- 6,974
- 36
- 77
- 121
6
votes
2 answers
How to execute specified test suites in boost.test library
I am using Boost.Test library for implementing unit test cases in C++. Suppose I have two suites such as
BOOST_AUTO_TEST_SUITE(TestA)
BOOST_AUTO_TEST_CASE(CorrectAddition)
{
BOOST_CHECK_EQUAL(2+2, 4);
}
BOOST_AUTO_TEST_CASE(WrongAddition)
{
…

sprasad
- 75
- 1
- 3
6
votes
1 answer
protractor - send spec/suite name as parameter
can I run protractor tests with spec or suite name as a parameter?
I'm currently running it with:
protractor myconf.js
thanks.

user2880391
- 2,683
- 7
- 38
- 77
6
votes
3 answers
Unit Testing Interfaces in Python
I am currently learning python in preperation for a class over the summer and have gotten started by implementing different types of heaps and priority based data structures.
I began to write a unit test suite for the project but ran into…

Nicholas Mancuso
- 11,599
- 6
- 45
- 47
6
votes
1 answer
Where can I find an authoritative test suite for the HTML5 standard?
I'm looking to write a comprehensive test-suite, to test a set of parsing and processing libraries against the HTML5 standard.
Where can I find an authoritative, comprehensive, suite of tests, which cover the majority of the HTML5 standard?
I've…

blueberryfields
- 45,910
- 28
- 89
- 168
6
votes
1 answer
Need some explanation about Distribution.TestSuite
I’m looking for some examples or well-documented readings that describe how to use the Distribution.TestSuite. The current haddock documentation is quite poor and so is the userguide. I want to write tests for a project and run them through cabal. I…

phaazon
- 1,972
- 15
- 21
5
votes
2 answers
Fitnesse : How to run specific tests across multiple Test suites
We use Fitnesse [FitSharp] and we have a requirement for a single fit test that will call and run individual tests that span multiple suites.
I know we could put it in a batch file and run individual tests from there
C:\Fitnesse\dotnet4\Runner.exe…

Liam
- 1,267
- 2
- 17
- 30
5
votes
3 answers
What is TestSuite?
I am relatively new to Java and new to JUnit testing.
It's absolutely clear to me what the Test class uis, but the TestSuite class confuses me.
Can someone explain me what TestSuite is for?

Иван Бишевац
- 13,811
- 21
- 66
- 93
5
votes
1 answer
TestSuite with testsuites and testcases
I need to make a big python suitecase consisted of other suitcases and testcase which I have already made to execute together.
How do I do this?
For example, here there is a suitecase (suiteFilter.py) which I want to add:
import testFilter1
import…

Gabriel Quesada
- 163
- 2
- 3
- 9