Questions tagged [test-runner]

187 questions
0
votes
1 answer

How to use class in Groovy for SOAPUI

I would like to use SOAPUI Groovy property for data driven testing. I am able to run the script for Once but while I am trying to use this inside class as OOPS Showing some error. It might be a GroovyUtils scope issue. Please provide solution for…
Error Hunter
  • 1,354
  • 3
  • 13
  • 35
0
votes
1 answer

Android test suite cannot be found

i've renamed my test folder to "test". Before it was set to AndroidTest and everything works. But i have a task from my superior that the test folder must be called "test". After i renamed the folder to test in android studio the test stopped…
j2emanue
  • 60,549
  • 65
  • 286
  • 456
0
votes
1 answer

CucumberOptions setting tags from a config.properties file

I have a config.properties file in which I would like to add a 'tags' key-value pairing. e.g.: tags:@ReadyToRun @RunWith(Cucumber.class) @CucumberOptions( tags = { "@Now" }, features = { "src/test/java/uk/gov/tfl/Reporting/Features"…
Charlie S
  • 4,366
  • 6
  • 59
  • 97
0
votes
1 answer

Does django need to set TEST_RUNNER first to run doctest?

I started a deadly simple django project to try django's doctest: # models.py """ >>> 1+1 == 2 True """ and run python manage.py test get: Creating test database for alias…
Kane Blueriver
  • 4,170
  • 4
  • 29
  • 48
0
votes
1 answer

Nunit & resharper test runner. How to get if the test is debugged or run

When I finished implementation of the new functionality & implemented new automation test I would like to run all test locally. It takes lots of time. Depending if this is run or debug I would like to use different web driver. How may I check if…
user1325696
  • 616
  • 1
  • 8
  • 16
0
votes
0 answers

RemoteTestRunner fails after my first test with selenium

So I use RemoteTesttRunner to run a couple of tests with selenium and they work perfectly the first time I run them. But if I try to run them a second time the web browser don't show up and he fail the test directly. I run the tests like this: var…
MilleB
  • 1,470
  • 2
  • 19
  • 32
0
votes
1 answer

Visual studio test runner - criteria is filtering all tests

Using VS 2013 and TFS 2013, I have 4 unit tests but I want a TFS build to run only one of them. For this I have assigned [TestCategory("bvt")] as an attribute of the method. I edit the build definition, and within the "Add/Edit Test Run" dialog I…
0
votes
0 answers

karma E2E testing against a C# MVC app

Ok, So I'm testing a web app with an angularjs front end and an asp.net mvc backend server and I'm having some issues when browsing to an asp.net controller action with my tests. sample test code it('clicking this anchor button should direct the…
Ian Richards
  • 1,618
  • 4
  • 17
  • 36
0
votes
0 answers

Test for string length in AngularJS Karma e2e test

I would like to check the string length of a field value in my AngularJS/Karma e2e test. I am trying the following in scenarios.js. The error message points at row 178 (see below), column 52 (where 'toBeGreaterThan'…
0
votes
1 answer

How can I prevent a tests in a specific project from being discovered by the Visual Studio 2012 test runner?

I have solution with a WPF application, its class libraries, WiX installer and numerous MSTest test projects. When I build the solution the test runner (we are using Visual Studio 2012.3) correctly discovers all the tests and allows us to run…
0
votes
0 answers

Custom TestRunner for nunit

Having following test flow: foreach(tc in testcases) foreach(temperature in temperatures) { SetTemperature(temperature); foreach(position in positions) { Robot.GotoPosition(position); …
Razer
  • 7,843
  • 16
  • 55
  • 103
0
votes
1 answer

How do I make a test runner that can execute tagged MSpec tests?

I have a suite of mspec test cases that has the [Tags] attribute defined for each. I now have to create a test runner in .Net/C# that takes the tags attribute values(an array of strings) as input and runs the corresponding tests. I would like to…
CMS
  • 133
  • 1
  • 1
  • 7
0
votes
0 answers

Handle to test object in JUnit4

In my specific test case, I need to over-ride the dependencies of my test case to inject more dependencies like servlet request and response. It is not possible to mock these as my API requires an actual servlet container to compile and run…
Neel
  • 2,100
  • 5
  • 24
  • 47
0
votes
2 answers

Setting up Hudson with Selenium RC to run tests written in C#

I just deployed a Hudson server and configured it to checkout, build and deploy to a testing http server. Now I want more =) I have some Selenium RC tests wrtten in C#/.Net, using the MbUnit infrastructure, that runs ok on Gallio Icarus. How to…
Seiti
  • 2,138
  • 2
  • 21
  • 33
0
votes
2 answers

uic: Unexpected element name

I am trying to compile a .pro file using qmake and Qt4 to get a library from qttestrunnerlib.pro but I get this error: ~/docs/UT_Cpp_Test/main/cppDir/src/qttestrunner$ qmake qttestrunnerlib.pro uic: Error in line 6, column 14 : Unexpected element…
Oumaya
  • 655
  • 4
  • 18
  • 43
1 2 3
12
13