Thanks for great article! Just one question: Am I right that tests are creating entities and do not remove they after test is finished? So, that may cause side effects. Better to use setup/teardown or tx+rollback :)
We believe that everyone deserves a good and free education. The purpose of Tech School is to give everyone a chance to learn IT by giving free, high-quality tutorials and coding courses.
the course is great, I love it.
I have a question about these test parts, if we didn't want our DB to be field with these Random Data (the Data that we don't want to use) so what can we do then ?
TNX a lot my friend ;)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for great article! Just one question: Am I right that tests are creating entities and do not remove they after test is finished? So, that may cause side effects. Better to use setup/teardown or tx+rollback :)
Hi Mikhail, I don't have to setup/teardown in my tests because I use random data. So they won't conflict with each other.
the course is great, I love it.
I have a question about these test parts, if we didn't want our DB to be field with these Random Data (the Data that we don't want to use) so what can we do then ?
TNX a lot my friend ;)