All Questions
4 questions
2
votes
1
answer
114
views
Is it okay to use interfaces on tests?
I have created a test, also the interfaces to be implemented for each test case based on user's role because I think it would make it easier to understand what the test case will and should do, also ...
3
votes
0
answers
635
views
PHPUnit testing my custom helper Facade classes in Laravel 5.5
I have been reading up on TDD and it's something I genuinely want to learn and be good at. This is something I haven't been doing as a developer and I thought it's about time I get into it.
These are ...
0
votes
1
answer
178
views
Repository code in Laravel
I am practicing to code in the right way and make it testable. Please review this code and tell me anything bad practices of it.
Entity:
...
3
votes
0
answers
877
views
Laravel Testing: Is this testing too much of the inner workings?
So I'm using laravel for a project and have a InvoiceRepository and a InvoiceRepositoryTest and I have written the test first ...