Here's some links that will help:
Eclipse: http://eyeonquality.com/running-hpe-leanft-tests-from-hpe-alm-part-one/
Visual Studio: http://eyeonquality.com/running-hpe-leanft-tests-from-hpe-alm-part-two/
View Results in ALM: http://eyeonquality.com/how-to-view-hpe-leanft-test-results-in-hpe-alm/
Note that these pages reference links that HPE has since changed. You can find the information on http://leanft-help.saas.hpe.com/en/14.00/HelpCenter/Content/Resources/_TopNav/_TopNav_Home.htm and follow the menu to the information.
Here's the help center page that discusses this issue: http://leanft-help.saas.hpe.com/en/14.00/HelpCenter/Content/ALMintegration/LFT-ALM-Intro.htm