Skip to main content

New answers tagged

1 vote
Accepted

Magento 2 and TDD good practices to implement tests

Some thoughts about TDD you may skip First of all, a simple PHPUnit test doesn't cover interaction with database, since it only tests the behavior of the code. For this purpose you may need to use ...
Siarhey Uchukhlebau's user avatar
1 vote

Magento 2 and TDD good practices to implement tests

I am new to this subject as well, but I would start with by looking at how Magento writes its own tests. For your first use case, there seems to be a few tests Magento does : For base price : \...
Cladiuss's user avatar
  • 1,287

Top 50 recent answers are included