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
0 answers

Junit Selenium Test Suite

I'm trying to launch "selenium" only once for my test suite but it's not working. Here is what I've done : My file AllTest.java is generating the test suite and I want to launch selenium from here: import junit.framework.Test; import…
daguerrier
  • 25
  • 2
  • 10
0
votes
2 answers

Test Suit, Test Module, Test Block, Test Scenario and Test Cases

Please let me know what is the definition of Test Suit, Test Module, Test Block, Test Scenario and Test Cases, and what is the relation between them? Thanks, Somnath
Somnath Guha
  • 107
  • 3
  • 13
0
votes
2 answers

Running JUnit test suite from inside Eclipse

Historically, I've always written my unit tests like this: public void WidgetTest { @Test public void test_whatever() { // Given... // When... // Then... } } This allows me to right-click my test file in…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
0
votes
0 answers

Grails (JUnit) test suite

Do JUnit test suites work in Grails? I am writing a Groovy/Grails(2.1.2) project using IntelliJ. Is it possible to run Spock tests as a JUnit test suite? I have tried: package com.foo import com.foo.functional.SampleFunctionalSpec import…
0
votes
1 answer

What is the right way to set common context for several TestCases?

I'm using unittest to test my terminal interactive utility. I have 2 test cases with very similar contexts: one tests for correct output and other for correct handling of user commands in interactive mode. Although, both cases mock sys.stdout to…
Michael Pankov
  • 3,581
  • 2
  • 23
  • 31
0
votes
1 answer

uncertain behaviour when combining selenium test cases into JUnit test suite

I have a scenario where I have 29 test cases. All the test cases pop-up new firefox windows and run to completion when run independently. However when I combine the test cases(all 29) into a test suite, I get random errors of "unable to locate…
user672365
  • 221
  • 1
  • 4
  • 11
0
votes
1 answer

How to execute code before TestNG for ie. building up the test suite

i am using Selenium2 + TestNG + Maven2 + alot of other stuff. What I would like to do is to build the testng.xml (xml suite) on-the-fly upon test execution, because I would read those tests out of HP ALM QC via OpenTestArchitecture (OTA). Is there…
MushyPeas
  • 2,469
  • 2
  • 31
  • 48
0
votes
1 answer

How do I create a Test Suite at runtime

Class A { @Test @CustomAnnotation(attrib1 = "foo"; attrib2 = "moo"; attrib3 = "poo") void methodA(){ } @Test @CustomAnnotation(attrib1 = "blahblah"; attrib2 = "flahflah"; attrib3 = "klahklah") void methodB(){…
quantumcrypt
  • 523
  • 1
  • 4
  • 5
-1
votes
0 answers

Is there a way to copy a test suite in ADO, retain the configurations, and create a new suite with those configurations?

When in ADO I can copy an existing Test Suite and create a new suite with those Test Cases, but the configurations are not retained. Is there a way to mirror those in a new suite without having to manually adjust each test case? I have tried using…
-1
votes
1 answer

DIEHARDER test suite build is broken for Arch Linux

I've created a PRNG for an university project and I need to test it with the DIEHARDER test suit. Unfortunatelly, every way I tried to install it in my Arch Linux gets failed. First I tried from the AUR package (dieharder, dieharder-git and…
nb0me
  • 39
  • 4
-1
votes
1 answer

Error report for execution and query intent in the test suite of the google action

Our project passed “Turn on” execution and query in the test suite of the google action. But “Turn off” execution and query failed and I couldn’t find in our part. After “Turn off” execution, I responded “false” for “on” attribute but error report…
-1
votes
1 answer

How to speed up large test-suite run duration using pytest?

I have a pytest test-suite which contains over 30,000 test cases. When I run it, it takes over 10 hours to run. However, when I cut the number of test cases down to 1,000, it completes in 39 seconds! Any idea on what is going on here? The test cases…
user1974753
  • 1,359
  • 1
  • 18
  • 32
-1
votes
1 answer

reliably kill phantomjs launched in setUpClass if derived class' setUpClass fails

I wrote a SeleniumTestCase class that launches PhantomJS in its setUpClass and kills it in its tearDownClass. However, if a derived class' setUpClass raises an error, the PhantomJS process is left hanging because SeleniumTestCase.tearDownClass…
Andy
  • 7,885
  • 5
  • 55
  • 61
-1
votes
1 answer

How to create and copy jenkins jobs using shell commands.Also how to run only a few test cases out of all mentioned in the job

How to create and copy jenkins jobs using shell commands.Also how to run only a few test cases out of all mentioned in the job or a suite. What are the settings i need to change to achieve this.
Aniket
  • 1
  • 2
-1
votes
1 answer

TestSuite JUnit -> Each TestCase has same @Before etc

I'm just writing som Selenium WebDriver tests with JUnit 4. Test Cases are grouped by JUnit TestSuite. Each test case (test class) has the same @Rule @BeforeTest @AfterTest How can i realize this in JUnit TestSuite, so that I don't have the same…
fuba77
  • 1
  • 2
1 2 3
21
22