cancel
Showing results for 
Search instead for 
Did you mean: 

How to create .exe file of TestLeft project ?

SOLVED
Highlighted
Frequent Contributor

How to create .exe file of TestLeft project ?

Hi Team,

I want to create .exe file of my TestLeft project which is created using MSTest.

I tried searching the procedure to create .exe but I did not fine any help on that.

 

Can anyone please guide me , how to create .exe file of my TestLeft project ?

 

Thanks,

Vajindar.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: How to create .exe file of TestLeft project ?

Hi Vajindar,

 

This is not possible. TestLeft uses MSTest as a runtime engine and MSTest can consume tests only in a form of DLL (which is the result of the TestLeft project build).

So, TestLeft-based tests cannot be compiled into standalone .exe and executed on the test system. Instead, MSTest must be installed on the test system and provided with the .dll that contains tests.

Note: this is not something that is specific to TestLeft. Pure MSTest-based tests also cannot be compiled into standalone .exe but are in a form of .dll and require MSTest runtime as well. Likewise, NUnit, DUnit and other unit tests are all also in a form of .dll and require corresponding runtime engine on the test system.

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================

View solution in original post

2 REPLIES 2
Community Hero

Re: How to create .exe file of TestLeft project ?

Hi Vajindar,

 

This is not possible. TestLeft uses MSTest as a runtime engine and MSTest can consume tests only in a form of DLL (which is the result of the TestLeft project build).

So, TestLeft-based tests cannot be compiled into standalone .exe and executed on the test system. Instead, MSTest must be installed on the test system and provided with the .dll that contains tests.

Note: this is not something that is specific to TestLeft. Pure MSTest-based tests also cannot be compiled into standalone .exe but are in a form of .dll and require MSTest runtime as well. Likewise, NUnit, DUnit and other unit tests are all also in a form of .dll and require corresponding runtime engine on the test system.

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================

View solution in original post

Frequent Contributor

Re: How to create .exe file of TestLeft project ?

Thanks Alex.

That was really helpful.