This is a migrated thread and some comments may be shown as answers.

Running web tests without having Testing Framework installed

1 Answer 79 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 29 Apr 2013, 09:23 PM
Hello,

I use NUnit to run tests using Test Framework methods. On a local machines tests work fine when I run them via resharper or nunit-console-x86.exe I have testing framework installed on my local machine.

I also want to run tests to CI machine without installation of Testing Framework. There will be multiple test projects created at a different time. I want each project to have its own set of test framework dlls for two reasons:
- to avoid potential compatibility problems of testing frameworks versions in a future.
- to let developers just get a copy of the test project and be able to run tests without installing anything.

I tried to copy all ArtOfTest.*.dll and Telerik.TestingFramework.Interop.dll from program files to my project folder. However, when I lunch tests on a CI machine without testing framework installed it opens IE with a blank page and shows error dialog with "RunDLL" title and "Error loading ArtOfTest.Connector.dll The specified module could not be found." text.

Is it possible to run NUnit tests which use testing framework without installing testing framework and just by copying framework's dll to a project folder?

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 02 May 2013, 04:25 PM
Hello Alex,

I am sorry but no this is not possible. The Telerik Testing Framework is more than just a set of DLL's. It is also a set of browser extensions for executing tests in the browser. These extensions must be installed by our installer for them to be correctly registered with the browser. We also add DLL's to the GAC which are required during test execution.

Of course this also means it is not possible to try to have two versions of the Testing Framework at the same time.

Regards,
Cody
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Alex
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or