Loading...
 
Development

Development


PHP Testing – Unit Tests

posts: 7 Germany

You probably know how important (automated) testing is.
To make sure things work like they're intended to and that in a fast and easy way.
Making a test for each fixed bug also makes sure the bug won’t happen again unnoticed.

So, I just found TikiTests which is for GUI tests only.
Is that used for development/before release to test?
Or is it not planned/defined in development process?

There’s already a test folder in trunk, but only with trash in it.
So, what’s your opinion?
Would PHP Tests improve dev.?
Shall we add it?
The test folder in trunk probably was intended to be just for this purpose, wasn’t it?

I’d like to add simpletest for unit testing PHP.
Also provides mocking.
It’s LGPL so we could also add it to SVN, right?

/e:
Sorry, this was meant to be in the development forum section.
Someone can move it? :-)

posts: 2428 Czech Republic

hi,

moved

test/ was intended only for new developers to test commits etc. before they start commiting actual code stuff

please contact Alain Désilets or Marta Stojanovic on devel list if you're interested in automated testing


posts: 7 Germany

Is forum and mailing list used in parallel?
Or one as primary, other as secondary?