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
0
votes
1 answer

How to create _init_.robot and use it for all robot files in the directory in robot framework?

I am trying to include_init_.robot file in the test suite. I have added a test implementation to check the method it would work, however I am unable to figure out it's execution. Code is as follows: init.robot *** Settings *** Documentation Suite…
Ameet Pradhan
  • 23
  • 1
  • 3
  • 10
0
votes
1 answer

JUnit4 - Parallel launch of Test Suites

I have two TestSuite classes (TestSuiteOne and TestSuiteTwo) They look so: import org.junit.runners.Suite; import org.junit.runner.RunWith; @RunWith(Suite.class) @Suite.SuiteClasses({TestClass1.class, TestClass2.class}) public class TestSuiteOne { …
Pavel Bobrov
  • 1
  • 1
  • 2
0
votes
2 answers

Eclipse cannot run JUnit 5 test cases in JUnit suite?

I've got working junit test cases I'd like to run in an Eclipse test suite. However, Eclipse only seems to have test suite support for JUnit 4 and 3. It seems my options are to either either downgrade my test cases (which I'm unsure how to do) or…
Ben Dere
  • 1
  • 2
0
votes
1 answer

How to Implement ExtentReports supporting parallel TestSuite execution and dynamically-named report generation

I have built a small test framework that uses Selenium Grid and TestNG and I would like to make it support parallel execution reporting with ExtentReports 3 and create a local dynamically-named file based on the name of the TestSuite that will be…
0
votes
1 answer

How to run a unitest testsuite from parent directory

I have the following directory structure: . ├── README.md ├── src │   ├── __init__.py │   └── foo.py └── test ├── __init__.py └── runner.py └── test_foo.py Where the test files look like this: test_foo.py import unittest from ..src.foo…
Pat Mustard
  • 1,852
  • 9
  • 31
  • 58
0
votes
0 answers

Use @RepeatedTest in a test suite

I have a test suite with multiple test clases in Junit5, one of those clases has some tests that use @RepeatedTest, they do repeat when I run them from that class but not when I run the suite itself, any idea why?
0
votes
0 answers

File system operation validation at C standard library level

I'm implementing an alternative C standard library with file operation support. I'm planning to support both: file stream API like fopen, fwrite and etc. low level file API like open, write and etc. I'm looking for a test suite which validates my…
Ben Hirschberg
  • 1,410
  • 1
  • 12
  • 17
0
votes
1 answer

Unable to execute second and third classes in xml file -TestNG

I have two classes in my xml file, but I'm unable to execute the fetch class when i run it as test suite. I dont have any errors in my program. I can run the code but only login gets executed. Your help is appreciated!! Xml file as follows:
0
votes
2 answers

TestNG won't output any xml containing failed tests

I have a testng.xml running a test of three classes, each of two two methods.
Gangnus
  • 24,044
  • 16
  • 90
  • 149
0
votes
1 answer

Initialize values in one java file and all other junit classes of a test suite get data from that java file

I want to make a test suite using JUnit in which one Java class initialize the values and all the remaining JUnit test classes, get their values from that class. I have made a class BaseTestclass.java in which values of class Stock.java has been…
r. singh
  • 1
  • 2
0
votes
1 answer

TFS Test Plans Merge from different Projects

I would like to merge an existing MTP (Master Test Plan) defined as a Test Suite with subfolders and TestCases, into another MTP (same structured), but located in a different project in TFS2017. The idea is to have both project sharing the same MTP,…
PinarT
  • 3
  • 2
0
votes
1 answer

Run single testsuite with Gradle Java

This is my Gradle script: test{ include 'com.foo.MainTestSuite' testLogging.showStandardStreams = true } And this is my com.foo.MainTestSuite @RunWith(Suite.class) @Suite.SuiteClasses({ NetworkTestSuite.class, …
Ilya Gazman
  • 31,250
  • 24
  • 137
  • 216
0
votes
0 answers

Python - Creating TestSuite with ordered TestCases

I came to Python from Java world. I found these TestNG-like tools: py.test, nose2 and unittest. Played a little with all of them but I found some simple examples with unittest so I decided to stick to it. I automate only website's UI part for now…
Viterzgir
  • 212
  • 4
  • 14
0
votes
2 answers

Custom Python test suite not filtering and running all cases

I created a custom test suite to run only one of the test cases but all the test cases are being ran. class TestBlackboxGame(unittest.TestCase): @classmethod def setUpClass(cls): cls.public_path = os.path.join('public',…
Learning C
  • 679
  • 10
  • 27
0
votes
1 answer

How to run Expo test suite

I generated sample expo app, pull the latest https://github.com/expo/test-suite. I run test-suite in the simulator, it shows a spinner which never disappears. Can you provide me an instruction how to run the tests? I see some warnings as well while…