Questions tagged [test-runner]

187 questions
0
votes
1 answer

How to put compile time check to execute the code of Unity Components so that a particular line should not execute when its test case are running?

Requirement: I want to put a check on the code so that It should execute only when we are not running test cases.
0
votes
0 answers

Null value when finding game object by tag

I am writting test cases for a Unity Project. I wanted to create a instance of a Monobehaviour class. Problem: Null value when I am trying to find game object with the tag. Code: [UnityTest] public IEnumerator DummyTestWithEnumeratorPasses() { …
Bhupesh Kumar
  • 369
  • 2
  • 18
0
votes
2 answers

RubyMine test runner tab not showing the tree view while running tests

I'm using RubyMine 2016.1.2 and whenever I run a test the tree view doesn't show up in the left hand test toolbar. According to this: https://www.jetbrains.com/help/idea/test-runner-tab.html items 2,3, and 6 are missing but should be there. I have…
Andrew
  • 117
  • 1
  • 2
  • 11
0
votes
1 answer

How to import testsuite to Soap UI using groovy

I am trying to automate creation of project using simple groovy script. I have managed to create new project, import wsdl, but i am stuck with the import of testsuite. Testsuite was exported from another project and it is in .xml file This is what i…
ivanz
  • 775
  • 2
  • 11
  • 31
0
votes
2 answers

In SoapUI, in command-line, how to export some properties to another project?

In SoapUI, I have a lot of projects (separate xml files): The first one (init.xml) will initialize a lot of properties (ex: sessionId) the other project (other.xml) will use that sessionID In the GUI, I simply use the transfert step to pass the…
jehon
  • 1,404
  • 15
  • 21
0
votes
1 answer

How to display all the test cases in test explorer in Protractor Cucumber Node JS framework

Hi I'm working in protractor cucumber node js framework. Im using VS code for it.Do we have any test explorer or test runner which can display all my test cases and I can just run by a click? Similar to test explorer in Visual Studio. Currently am…
Nalu
  • 195
  • 2
  • 13
0
votes
0 answers

how to run parameterised xUnit test cases via xunit.console?

I need to run my xUnit test cases through command line. I have some test cases as below: [Theory] [InlineData(2)] [InlineData(4)] [InlineData(6)] public void GivenNumberMustBeAnEvenNumber(int val) { Assert.Equal(val%2, 0); } How can I run above…
Aseem
  • 11
  • 5
0
votes
1 answer

Possible to run mocha test with chai in console and browser within a single test file?

I have set-up a little test environment for a project. It should use mocha and chai for unit testing. I've set up a html file as test runner: Mocha Tests
eisbehr
  • 12,243
  • 7
  • 38
  • 63
0
votes
1 answer

cmd escaped after SoapUI test is finished

I am calling SaopUI testrunnet from cmd file. The problem is that lines after command for testrunner are not executed I have unchecked "Fail testcase on error" checkbox in soap ui without any help. Anyway, i have this issue regardless of test was…
ivanz
  • 775
  • 2
  • 11
  • 31
0
votes
0 answers

Make Karma fail test on syntax error

When a test of ours has a syntax error we get something like this: WARNING in ./tests/components/RequesterInfo/RequsterInfo.spec.js Module build failed: SyntaxError: /Volumes/dev/VisualforceCore/tests/components/RequesterInfo/RequsterInfo.spec.js:…
davegri
  • 2,206
  • 2
  • 26
  • 45
0
votes
1 answer

MSTest.TestAdapter (1.0.0-preview) does not discover tests (mstest) in VS2015 Update 3

Inside project.json I wrote: "testRunner": "mstest" and in dependences: "MSTest.TestAdapter": "1.0.0-preview" But Test Explorer is not able to discover any tests inside. I guessed that correct package is "dotnet-test-mstest": "1.0.1-preview" But it…
Maxim
  • 13,029
  • 6
  • 30
  • 45
0
votes
1 answer

CakePHP 3 - phpUnit Webinterface?

where has the Webinterface for unittests in CakePHP 3 gone? There is no more test.php in the /webroot folder. Are tests only accessable by console now? That's not very comfortable!? Thank you
mittererr
  • 125
  • 2
  • 10
0
votes
1 answer

How can I get the NUnit GUI test runner to make itself available from Visual Studio?

I NuGetted NUnit (v 3.0.1) and NUnit Test Adapter (v 2.0.0) into my VS 2013 project, and then wrote a class that should allow me to run a test: using NUnit.Framework; namespace RoboReporter { [TestFixture] public class NUnitTest { …
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
0
votes
1 answer

Resharper 10 Ultimate Test Runner changes test directory

I have opened a bug with Jetbrains but I am hoping that posting in SO will get more visibility. Instead of running the test from the bin\debug directory, the directory is being changed to:…
Pouya Barrach-Yousefi
  • 1,207
  • 1
  • 13
  • 27
0
votes
2 answers

Passing command line arguments to gtest test runner in VS2015

My setup is Visual Studio 2015 with the gtest test runner https://visualstudiogallery.msdn.microsoft.com/94c02701-8043-4851-8458-34f137d10874 Everything works fine. But now I want to pass command line arguments to int main(int argc, char **argv)…