Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHPUnit: What does syntaxCheck configuration parameter stands for exactly

Tags:

I can't find it in documentation nor on google search which is strange.

What does syntaxCheck configuration parameter stands for exactly in PHPUnit configuration XML file?

like image 703
Mladen Janjetovic Avatar asked Jun 02 '17 11:06

Mladen Janjetovic


People also ask

What is the PHPUnit XML configuration file used to organize tests?

The beStrictAboutChangesToGlobalState Attribute This attribute configures whether PHPUnit should mark a test as risky when global state is manipulated by the code under test (or the test code).

What is PHPUnit XML file?

PHPUnit uses XML file for configuration. This configuration file can be added to your version control system so all developers get the same output. These settings will help you make sure your tests work the way you want.

What is PHPUnit testing?

PHPUnit is a unit testing framework for the PHP programming language. It is an instance of the xUnit architecture for unit testing frameworks that originated with SUnit and became popular with JUnit. PHPUnit was created by Sebastian Bergmann and its development is hosted on GitHub.

How do I run a test in PHPUnit?

How to Run Tests in PHPUnit. You can run all the tests in a directory using the PHPUnit binary installed in your vendor folder. You can also run a single test by providing the path to the test file. You use the --verbose flag to get more information on the test status.


1 Answers

That configuration setting has not had an effect in years. It was removed long ago.

like image 133
Sebastian Bergmann Avatar answered Oct 10 '22 08:10

Sebastian Bergmann