I bought a Postgresql course from the creator and it was really good. And I know some people personally who took the screencasting courses and they all said it was solid.
I bought a Postgresql course from the creator and it was really good. And I know some people personally who took the screencasting courses and they all said it was solid.
Are you for Real Madrid or Barcelona?
Are you for Real Madrid or Barcelona?
Here I just create some line items in the test
Here I just create some line items in the test
(not a real example, but you get the idea 😅)
(not a real example, but you get the idea 😅)
user = User.create(name: 'John', surname: 'Doe')
expect user.full_name to be 'John Doe'
Would you call this an integration test or a Unit test in the PHP world?
user = User.create(name: 'John', surname: 'Doe')
expect user.full_name to be 'John Doe'
Would you call this an integration test or a Unit test in the PHP world?
Integration tests, test the whole stack. Like, visit page and check if successful. On the Controller level.
Unit Tests are tests for your models which are plain objects, which many times are attached to a database table.
Integration tests, test the whole stack. Like, visit page and check if successful. On the Controller level.
Unit Tests are tests for your models which are plain objects, which many times are attached to a database table.