test-runner

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

时间秒杀一切 提交于 2019-12-11 01:35:40
问题 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 environment" -I "C:\TCOE\Automated_Smoke_and_Regression_SoapUI_Tests\xxx\xxx_PRODUCTION-soapui-project.xml" Right now the script looks like the above pasted one. Where I declare the root location for the report explicitly. What do I do to ensure each run

JUnit Test Runner that creates tests just before running them

不打扰是莪最后的温柔 提交于 2019-12-10 19:20:18
问题 I use JUnit 3.x TestRunner that intantiates all tests at once before running them. Is there a Test Runner available that would create each test (or at least each test suite's tests) just before running them? I can use JUnit 4.x runners but my tests are 3.x tests. 回答1: In JUnit 3 you'd need to write your own TestSuite class that delayed instantiation of the tests in the suite. 回答2: You are probably doing it wrong. Each unit test should be self-contained and not depend on any other test results

JetBrains Resharper 9 Ultimate Test Runner error: NUnit.Core.UnsupportedFrameworkException: Skipped loading assembly {MyAssembly}

我只是一个虾纸丫 提交于 2019-12-09 02:10:39
问题 This seems to be an error with the JetBrains Resharper 9.1 Ultimate Test Runner referencing an older version of NUnit. I am using NUnit 3.0 in my assembly. [Window Title] Unit Test Runner [Main Instruction] Unit Test Runner failed to run tests [Expanded Information] at NUnit.Core.Builders.TestAssemblyBuilder.GetCandidateFixtureTypes(Assembly assembly, String ns) at NUnit.Core.Builders.TestAssemblyBuilder.GetFixtures(Assembly assembly, String ns) at NUnit.Core.Builders.TestAssemblyBuilder

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

て烟熏妆下的殇ゞ 提交于 2019-12-06 06:09:36
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 , like find . -maxdepth 1 -name '*.js' -type f -exec echo {} + prints (as expected) all the filenames in the directory. How can I make phantomjs run all .js files in the current directory? Is this a bash problem or a phantomjs problem? AFAIK phantomjs will only support one file at the time. You need to tell find to call phantomjs for each found file: #!

Cannot resolve ActivityTestRule after upgrading dependencies. Unable to import ActivityTestRule

人盡茶涼 提交于 2019-12-04 17:03:43
问题 I have written instrumentation tests which was working fine, but now getting error cannot resolve ActivityTestRule error after upgrading dependencies to androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' I am using android support version 27.1.1 It is working fine with dependencies androidTestImplementation 'com.android.support.test:runner:1.0.1' androidTestImplementation 'com.android.support.test

JetBrains Resharper 9 Ultimate Test Runner error: NUnit.Core.UnsupportedFrameworkException: Skipped loading assembly {MyAssembly}

丶灬走出姿态 提交于 2019-12-01 02:39:20
This seems to be an error with the JetBrains Resharper 9.1 Ultimate Test Runner referencing an older version of NUnit. I am using NUnit 3.0 in my assembly. [Window Title] Unit Test Runner [Main Instruction] Unit Test Runner failed to run tests [Expanded Information] at NUnit.Core.Builders.TestAssemblyBuilder.GetCandidateFixtureTypes(Assembly assembly, String ns) at NUnit.Core.Builders.TestAssemblyBuilder.GetFixtures(Assembly assembly, String ns) at NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, Boolean autoSuites) at NUnit.Core.Builders.TestAssemblyBuilder.Build(String

Googletest Eclipse C++ : How to have both test and production executable?

无人久伴 提交于 2019-11-30 15:23:59
I have a basic question regarding Googletest in Eclipse. I am using the test-runner plug in to run the Googletests. But I need to specify a binary which runs my unit tests (of course that makes sense.) The problem is that in my project I now have two main functions, one to run the actual program and one int main(int argc, char** argv) { ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); } to run the google tests. Each time I want to run one I comment the other out, which of course is stupid. But what practice do you use to handle this situation? Googletest C++ is a unit-testing

What is the best Nunit test runner out there? [closed]

烈酒焚心 提交于 2019-11-30 11:57:12
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 7 months ago . Having recently gotten into test driven development I am using the Nunit test runner shipped as part of resharper. It has some downsides in terms of there is no shortcut to run tests and I have to go looking for the Nunit test runner to invoke it using the mouse. It has a

What is the best Nunit test runner out there? [closed]

巧了我就是萌 提交于 2019-11-30 01:45:03
Having recently gotten into test driven development I am using the Nunit test runner shipped as part of resharper. It has some downsides in terms of there is no shortcut to run tests and I have to go looking for the Nunit test runner to invoke it using the mouse. It has a nice GUI and shows the results as part of the IDE well. What do other people use for running unit tests against .net projects? I have googled other apps including MBUnit and the Unit test App from Nunit.org and wondered what comes out on top for people. mezoid Resharper does have some shortcomings...but it is possible to

How can I continuously run unit tests in Visual Studio 2012 Professional?

▼魔方 西西 提交于 2019-11-29 11:04:05
问题 Visual Studio 2012 added a "Run tests after build" button in the Unit Test Explorer, but it seems that option is not available in the Professional edition. In fact, my "Unit Test Explorer" is just called "Test Explorer", and doesn't have that button at all: Are there any extensions which can replace this missing feature? Something that integrates with the existing test explorer UI would be ideal. (Free options are also preferred, since if I could convince my corporate overlords to shell out