Jump to content

Topic on Talk:Requests for comment/Unit testing

P858snake (talkcontribs)

PHP is pretty much static/similar on all platforms, so running PHPUnit in CruiseControl or on your localhost is enough to know that the code is good (if it passes the test). -- This statement is mostly only of theoretical value, because recently we have seen some tests that were/are still broken on CC but not locally, or that were broken locally but not on CC.

This post was posted by Peachey88, but signed as 145.94.184.252.

😂 (talkcontribs)

Yes this is a problem. Some of it's differences in setup between ci.tesla and people's local installs. Differences in pass/fail between setups is usually an indication of a problem that needs fixing anyway :)

Krinkle (talkcontribs)

May also be related to CruiseControl install using SQLite and (most local installs) using MySQL.

😂 (talkcontribs)

That's part of the reason. It's why I always test phpunit on both :)

Hashar (talkcontribs)

Maybe we could add CruiseControl build against postgre and MySQL and just running the Database group.

😂 (talkcontribs)

Can we please not install pgsql on ci.tesla? The reason we use sqlite over mysql is because it's nice and lightweight and we're on a VM.

Bryan (talkcontribs)

Also, Windows. Some tests fail on Windows that do not fail on Linux.

😂 (talkcontribs)

I'm not looking to build a test cluster with multiple VMs running different OSs.

Reply to "PHP similarity"