Questions tagged [test-suite]

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.

320 questions
3
votes
1 answer

Tests output in multi-package project is not shown with `stack test`

I have a multi-package project with test suits in every package. When I run stack test command I expect output of every package's tests to be shown, but it's not. Here is what I've got: package1-0.1.0.0: test (suite: package1-test) package2-0.1.0.0:…
vrom911
  • 694
  • 1
  • 5
  • 16
3
votes
0 answers

Test Suite for Arithmetic Expression Parser

I am writing a simple parser (in JavaScript, and, later, in Swift) to evaluate basic arithmetic expressions such as 1+2*3 and 3*(4+5). I have a working version, but I would like to test whether it is reliable. Is there a test suite of arithmetic…
Manngo
  • 14,066
  • 10
  • 88
  • 110
3
votes
1 answer

JUnit Test Suite- Only include Specific tests, not every test in the Class?

I am setting up a Junit Test Suite. I am aware of how to set up a test suite using the standard method that runs all tests in a class, for example here. Is it possible to create a test suite and only run certain tests from several different…
java123999
  • 6,974
  • 36
  • 77
  • 121
3
votes
2 answers

How to effectively split a large phpunit testsuite?

I use phpunit's testsuites feature to organize my tests. I do so to have the ability to run tests in parallel later on. This is relatively straight forward for different directories. So i could split up testsuites by bundle for example.
stijink
  • 227
  • 1
  • 2
  • 11
3
votes
2 answers

Protractor - action between specs in suite

I've created few tests (Specs) in Protractor - that every test works fine when running alone. the problem is that when executing them as one suite - the tests break. I'd like to add some operation in between the tests - such as timeout or logout.…
user2880391
  • 2,683
  • 7
  • 38
  • 77
3
votes
1 answer

Why are line endings added to exported SoapUI TestSuites?

Whenever I export a full TestSuite from SoapUI 5.2.0, "\r" is added almost randomly to my test requests:
Sub hash
  • 51
  • 8
3
votes
1 answer

How to configure PHPUnit to test the whole vendor folder in a ZF2 application?

I'm developing a Zend Framework 2 application with a common folder structure, so that the folder /vendor contains all (project external) libraries. Setting up the unit testing environment I would like to be able to run all vendor tests. The folders…
automatix
  • 14,018
  • 26
  • 105
  • 230
3
votes
0 answers

CasperjsJS How to setup test suite with dependent test cases

How would I create a test suite where I have a test case that is dependent on a previous test case to start? Example: Test 1 Login with user X Test 2 My account page (Comes after user logged in) Test 3 "Follow up with other tests with the same user,…
nelsiki
  • 31
  • 2
3
votes
1 answer

phpunit extend test suite

I extended PHPUnit_Framework_TestSuite to overwrite the setUp and tearDown methode because I need PHPUnit to do some operation before and after a suite of test. (the test are in multiple TestCase class.) class MyTestSuite extends…
holygrinder
  • 108
  • 7
3
votes
1 answer

Purpose of test suites? (JUnit 3)

Can anybody explain me the purpose of test suites? I'm using idea+maven (I just started doing with maven) and i have sources like this: my classes and i clicked to "test" on the lifecycle toolbar of my project, and the result was like…
Charlie Harper
  • 379
  • 4
  • 7
  • 21
3
votes
1 answer

Run single test within a test suite in Eclipse

I always enjoyed running only one test of a test class. Now I'm using test suites to order my tests by tested methods into separate classes. However, Eclipse is not running the @BeforeClass-method if I want to run a single test of a test suite. I…
Torsten
  • 1,696
  • 2
  • 21
  • 42
3
votes
2 answers

Page Object Pattern Implementation with CasperJS

Is there anyone who have already implemented the famous "Page Object Pattern" with casperjs, it's very useful for test maintainability in the long term ? It's very very cool to use that when you have to separate the mechanics and the purpose of your…
Brice LALU
  • 173
  • 1
  • 7
3
votes
1 answer

Launch Suite classes using another Suite class

I would like to launch some Suite classes with JUnit 4, using another Suite class. I have the following test suite for one package: package com.manuel.package1; import org.junit.runner.RunWith; import org.junit.runners.Suite; import…
Manuelarte
  • 1,658
  • 2
  • 28
  • 47
3
votes
1 answer

How to select a specific test with Python unit test testsuites

I have Python unit test code organized as follows: Maindir | |--Dir1 | | | |-- test_A.py | |-- test_B.py | |-- test_C.py | |--Dir2 | ... I assume you get the picture. In each of the Dirx directories I have a file…
Alex
  • 41,580
  • 88
  • 260
  • 469
3
votes
1 answer

Intel 8080 Emulator Tester

I wrote an emulator for the Intel 8080, and I want to check if my implemented instructions are correct. Is there a test suite or a way to test each instruction if its correct? My emulator is written in C.
hakuna matata
  • 3,243
  • 13
  • 56
  • 93