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

Run Junit test cases only from Test suite and not individual class

I have setup an embedded mongo via flapdoodle (de.flapdoodle.embed). Quite a lot of mongo operations hence i would like to run all of them as a suite and setup the mongo just once in testsuite. Now when i run the test cases via mvn install , it…
Ravisha
  • 3,261
  • 9
  • 39
  • 66
0
votes
2 answers

How to create test suite for Mockito when we are writing junit

How to create test suite for Mockito , when we have multiple class which are having mockito test cases I have tried using @RunWith(MockitoJUnitRunner.class) with @SuiteClasses({SampleTest.class,DummyTest.class}) but the throwing error . When i run…
user5008345
0
votes
0 answers

How to run a j unit test suite using gradle

So I have a test suite written in JUnit, like below, basic mantra is that all the test cases which are listed in @Suite.SuiteClasses are going to be included in for running of the tests. package bddDemo.TestSuite; import…
0
votes
1 answer

How to group mockito TestCase

I have some test classes by Mockito . I try to aggregate them by TestSuite but it has error . First Test Case : @RunWith(MockitoJUnitRunner.class) public class GetLastLoginTimeTest { @Test public void happyScenario_OK() throws Exception{ …
Amin Arab
  • 530
  • 4
  • 19
0
votes
0 answers

How to make a proper test suite from a given code with Mockito?

I am trying to make a test suite for my game. But I don't know where to begin and how test this whole class with mockito. Can somebody help me with that? First, I mocked the board and level makers then I have done some test to parse a map with…
Lex
  • 1
  • 1
0
votes
1 answer

Serenity-Cucumber, how to use the same scenario step across multiple feature files

Using Serenity-Cucumber, I am trying to build a test suite so that I can reuse the step definitions (Given, When, Then, And..) through out multiple feature files. For example: Scenario: User Logs in Given User is on the Login page When User…
Alex
  • 160
  • 1
  • 2
  • 22
0
votes
1 answer

How to handle Application “Crash” when Run Test Suite.(Android)

on Running Test Suite(with 20-30 test cases) on Emulator time application crashed after run 6-7 test cases,its working when we execute on physical device.but we have to work with emulator,we are using Android Emulator and Genymotion.
0
votes
1 answer

Creating test-suite with pytest in py file

I have two tests created with pytest: Test1 and Test2. I would like to create method which would start whose two tests. I know that i can do it with cmd, but i prefer py file. In unittest there are testloader and testsuite methods: t1 =…
NiPa
  • 93
  • 1
  • 14
0
votes
1 answer

Test Suite is not running in Katalon Studio

I'm trying to execute test suite, but it is stuck at: Launching the test suite... and when I click after 1 min it is not responding and closes.
brithwulf
  • 538
  • 10
  • 35
0
votes
1 answer

Can i use single Zephyr test case to maintain record of test execution on multiple device?

Background->So i am using Zephyr for Test case management.I have a manual test suit with around 100 test cases .All test cases i have to execute on around 10 mobile devices. I dont want to write same test cases for 10 devices as it will become…
shashank shekhar
  • 155
  • 3
  • 16
0
votes
1 answer

How to add test cases /requirements suites from other test plans to new test plan and delete them without deleting the original

I am trying to decide on the structure my test cases/suites should have in TFS 2018 (and MTM). I want to divide based on sprints eg Sprint 1 one test plan, Sprint 2 another test plan etc. These plans might have the same test cases/ suites. The…
Marialena
  • 817
  • 8
  • 31
0
votes
1 answer

Easy way to run JUnit testcase over and over with @Before and @After method for every run

The question here is a variant of Easy way of running the same junit test over and over? The above mentioned link nicely answered how to run a test repetitively through IntelliJ. However, I need a way to run the entire test suite multiple times,…
shahharshil46
  • 172
  • 3
  • 10
0
votes
3 answers

How to implement Test Suite for Java Selenium tests

I would like to call my Selenium tests, written in Java (@Test annotated) from one class. Is there option make it class as kind of Test Suite,perhaps annotated appropriately? thanks.
sergionni
  • 13,290
  • 42
  • 132
  • 189
0
votes
1 answer

Add simple test method to TestSuite

How can I add simple test method from unittest.TestCase to TestSuite. As I see it is only possible to add whole class only to suite, for example I want something like this: import unittest class MyBaseTestCase(unittest.TestCase): @classmethod …
Ivan Bryzzhin
  • 2,009
  • 21
  • 27
0
votes
1 answer

Random TestNG exception while Executing Webdriver Scripts

I have an Automation Framework for a Web Application where a Java class contains all the test Methods(TestNG annotation @Test).The execution can be started either by clicking RUN in eclipse or by Selecting Run as->TestNG test on Project.The data…
started late
  • 97
  • 10