Admonish

Then again, I imagine most natual language syntaxes would be easier then php to understand

Admonish

Did you find it hard to learn or confusing? I read a couple of comments online that were about similar "natural language" syntaxes. Some poeple were saying that due to the wording used things could get confusing.

robjingram

Personally I quite like gherkin. The whole idea behind it is that it is more of a natural language that you could put in front of a client and indeed work with the client to produce but could still use to drive automated tests

Admonish

It also seems to be more of an all in one solution

robjingram

Behat uses gherkin which isn't their invention. It's more of an industry standard for defining behaviour in a way that can be automated.

robjingram

Looking at the docs a bit more I guess that non-JS tests run through PhpBrowser which could be significantly faster than running everything via selenium.

Admonish

I noted that bahet uses its own language/syntax while codeconception uses php to do similar things. I guess it makes sense to use bahet if you are not super technical (or are tired of writting php), but I think that keeping everything in php would also be a nice advantage.

robjingram

I've not used Codeception but it looks like it could be interesting. It seems to be aimed at BDD so I'd be interested to know the advantages over Behat, particularly if it is faster or makes using phantomjs easier.

Admonish

It seems like silverstripe has official support for PHPUnit and Behat and unofficial support for Codeception and Selenium (via the symbiote/silverstripe-test-assist module)

Admonish

I recently started doing research into the various php testing frameworks and tools to see which of then would be the best for us to use in out continuous integration system. And it seems the the most used are PHPUnit and Codeception for unit testing and Behat, and Selenium for User Acceptance Tests and behaviour-driven PHP testing. My question is, in your experiance what is the best testing frameworks/tools for use with silverstripe?