Magento 1 ships with a /tests/ folder containing functional test based on PHPUnit and Selenium
( note: you shouldn't deploy this folder to live site :)
I'm looking for some information in order to run those tests and implement my own.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
M1 (from 1.9) and M2 have the same way of test running. In M1.9 you have it out of box.
So just read the manual "how to" http://devdocs.magento.com/guides/v2.0/mtf/mtf_quickstart/mtf_quickstart_runtest.html
Hope it helps