Just curious if anyone has successfully use Continuous Integration (CI) with a Yii2 project ?
I am hitting a road block with my career. Never write any tests. All tests are performed by human. I know it is not very useful and it is not the way to do software development in 2016.
I’ve spent some times surfing the internet and picked up pieces so I kinda have a roadmap of how “pro” test their software.
-
they have unit tests
-
they have functional tests
-
they have acceptance tests
-
they have continuous integration server
I think the way it works is somehow you setup your continuous integration to automatically run unit, functional, acceptance tests when you push new code. If all tests are passed, the new code are pushed directly to production servers. If 1 test fails, continuous integration will notify you.
That’s general idea. Am I right ?
About detail on how to do each of them in Yii2, I aware of Codeception but I wonder if there are testing framework that are UI friendly , drag and drop ?
Also, any recommendations for Continuous Integration ? Something is simpler, easy to use, minimal setup and works best with Yii2.