Frequent Contributor.
Frequent Contributor.

Running LeanFT/NUnit test for standalone application through command line

We are using leanFT & NUnit to run our standalone app. Currently, we use the Test Explorer window to execute our tests locally, all by using the UI. What we would like to do is to figure out a command that we can use instead that will execute the tests. Is there an easy way to do this with LeanFT? Thanks.

Tags (2)
1 Reply
Trusted Contributor.
Trusted Contributor.


If you want to run LeantFt Test from a command line you could use the the Nunit console to run the test

<NUnit Path>\bin\nunit-console-x86.exe" "%PATH_TO_TEST_PROJECT_DLL%\DLLFileName.dll 

or in my case 

<NUnit Path>\bin\nunit-console-x86.exe" C:\Users\<User>\Documents\Visual Studio 2012\Projects\LeanFtNUnit\LeanFtNUnit\bin\Debug\LeanFtNUnit.dll

I would also look into a Jenkins integration, once you have it configure is a great way to execute an even shedule your test both (LFT and UFT)

for more information take a alook at 

The official documentation


This community post 




The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.