Questions tagged [test-runner]

187 questions
2
votes
1 answer

Playwright JS: How do I convert my test files/code/directory from Jest test runner to Playwright test runner?

1- File names are like login.test.js but in playwright test runner file name should be login.spec.js 2- Directory is Login(Component) -> specs -> login.test.js but in playwright test runner it should be like tests/login.spec.js 3- In my code I use…
Mairaj Ali
  • 151
  • 1
  • 2
  • 6
2
votes
1 answer

Simulate Unity InputSystem mouse events

I'm busy working on a game where the player can attack by clicking the left mouse button. I have a InputManager class that will check the input events and then invoke a UnityEvent. This is all working while playing the game. But I'm struggling to…
user2917054
2
votes
1 answer

TestRunner [Junit] D:\Java\JDK-14.0.1\bin\javaw.exe

1When i execute runner class i am getting this error " TestRunner [Junit] D:\Java\JDK-14.0.1\bin\javaw.exe" package Runner; import org.junit.runner.RunWith; import io.cucumber.junit.Cucumber; import…
Dinesh
  • 21
  • 3
2
votes
1 answer

Getting error while sending Outlook email using Python

Here is the code which I found in internet and modified according to my need: outlook = win32.Dispatch('outlook.application') mail = outlook.CreateItem(0) mail.To = 'W57007' mail.Subject = 'Message subject' mail.Body = 'Message body' mail.HTMLBody =…
Koustav
  • 33
  • 6
2
votes
2 answers

i am trying to develop a test runner in python

Any pointers ? Suggestions ? Opinions ? I am thinking here is a draft specification: Can run individual test methods Can run a single Test Class Rsult in XML Result in HTML Dry-run Calculate and display time taken by each test case, and overall…
kamal
  • 9,637
  • 30
  • 101
  • 168
2
votes
0 answers

Use Scala and Java test runners simultaneously in IntelliJ

I have a project that uses both Java and Scala test runners. I've created two different Test Sources Folders, one for Java and another for Scala, where I put my two different Test Runners. However, when I am trying to run my Scala Test Runner it is…
Bruno Fernandes
  • 427
  • 2
  • 6
  • 14
2
votes
1 answer

How can I record my Cypress Test on windows?

I'm almost done with my bachelor thesis about e2e testing. I can test almost anything but i cant record. I did what everything what is documented on cypress.docs On the picture below you ca see i set a project, which is private i got the key command…
user8995745
2
votes
1 answer

Cypress test runner crashing issue

I have only 3 test cases on a spec file -but when i run this spec -cypress runner often crashes chrome browser. And i have to restart again. Is this is something with my code ? or is there any solutions for this Thanks
user8710571
  • 405
  • 2
  • 12
  • 25
2
votes
2 answers

Setup/Teardown Not Called In Unity Test Runner & Test Is Blocked

I've googled around and I don't see anyone else having this issue so maybe it's just me. I setup a Unity Test Runner with a Playmode unit test suite. However, if I try to run tests which have a [Setup] or [Teardown] in the suit, the tests don't run…
Aggressor
  • 13,323
  • 24
  • 103
  • 182
2
votes
0 answers

Passing data around in a custom NUnit test runner

I'm attempting to write a custom NUnit test runner to integrate into our application and I've managed to get a TestRunner object created and running some tests. Next I would like to be able to pass some data into the TestRunner for the tests to…
Michael
  • 21
  • 1
2
votes
2 answers

Can mspec tests run in the native Visual Studio 2010 test runner?

I have mspec running with R#, but my client doesn't have R# and doesn't plan on getting it. :( I want my test suite (written completely with mspec) to be valuable to my client, so it would be HUGE if the VS2010 test runner ran specifications written…
Byron Sommardahl
  • 12,743
  • 15
  • 74
  • 131
2
votes
1 answer

How do I save a report to a new location every time I run a testrunner script in CLI - SOAPUI

I am running a script through testrunner CLI through a Jenkins build. I want the result's saved to a new folder for each run. How do i do it? testrunner.bat -r -j -J "-fC:\Users\xxxxxx\Desktop\Reports\xxx\xxx" "-RProject Report" "-EDefault…
2
votes
1 answer

How to specify which tag to return in Java via SOAPUI Testrunner getRunContext

I'm currently using the following generic method to access individual xml tags within a SOAPUI response: public class SoapUIAPI { private String soapUITestCase; private String tagValue; private TestRunner runner; public String…
2
votes
1 answer

Make phantomjs run all '*.js' files in the current directory

I want to write a script to call phantomjs on a bunch of test scripts in a directory. This script runs the first test and then exits. #!/bin/bash find . -maxdepth 1 -name '*.js' -type f -exec phantomjs {} + Executing a similar command with echo,…
meatspace
  • 859
  • 16
  • 25
2
votes
1 answer

MSBuild to run unit tests

I am trying to configure CruiseControl .net to build our repository code periodically and run the tests included in the solution. I have configured the retrieving code from the svn server and building part. But I am unable to run tests on it.…