Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Basic concept of out unit tests
#1
OK, so we have the test repository where Joe explained how you can set up the test repository in your development installation and how you should execute the unit tests. Those unit tests start at the phpunit.xml file and collect all files in the directories mentioned I presume? Then it executes all the methods of all the classes Each class should extend the TestCase class.

I want to write a blogpost about this after writing some tests myself. What I want to know is, what do we want to do here? Is there a certain guideline for the directories and files? Do we want to write tests of which we know they should pass or do we want to test known bugs so we can remind ourselves of what we still need to fix?

Is there any other etiquette that I should know of?
Reply


Messages In This Thread
Basic concept of out unit tests - Guido1982 - 03-20-2019, 09:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)