astorm/magento2-travis

Unit testing magento2 module

graphan opened this issue · 1 comments

Hi @astorm,

I am wondering how to unit test a magento2 module on Travis.
Could it be easily applied to your solution or are there easier options?

In advance, thanks for your help.

@graphan that's a pretty wide open question -- Magento comes bundled with a unit and integration test framework, and the dev docs site has some content on getting started with those. http://devdocs.magento.com/guides/v2.1/test/testing.html

Personally I've just started writing tests using the bundled vendor/bin/phpunit command.

Does that answer your question? Too basic? Too advanced?