J
J
JackShcherbakov2018-02-11 19:20:58
PHP
JackShcherbakov, 2018-02-11 19:20:58

Is it worth learning to write unit tests now, if so, is it worth using libraries for testing?

Hello!
Is it worth learning to write unit tests now, if so, is it worth using libraries for testing?
I've been trying to figure out how to install PHPUnit for a whole day now. The thing is, I don't like black boxes (when I just follow the instructions and don't even have a clue what's going on "under the hood"). For me, PHPUnit is a black box. At the same time, I am completely new to PHP, but I want to write tests. I also don't like putting things off. Here decided to find any library for testing. Should I write tests using libraries? If not, why not? Should I use a library or is PHPUnit better? It is also worth noting that complex tests are not required to be written, but simply something like checking the values ​​returned by a particular function.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cat Anton, 2018-02-11
@JackShcherbakov

Should I write tests using libraries?
PHPUnit or Codeception

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question