5 years ago

Codeception, PHPSpec, Acceptance | Functional | Integration | Unit testing

Posted 5 years ago by renyan

Hello everyone,

Could someone help me to understand how all of these are used in a real project.

Take, for example the project that's being developed in Larabook series.

Jeffrey only used functional and integration tests.


  1. When would Unit tests come in use?
  2. What's the practical difference between acceptance and functional tests? I understand that the former are virtual and no browser is used, so I guess you can't test javascript (?). (Functional for features without JS and Acceptance when tests are dependant on JS?)
  3. Any additional tips if I am understanding something incorrectly?

Please provide examples in relation to larabook series if you may.

Thanks in advance, R.

Please sign in or create an account to participate in this conversation.