Message of the day:
Making TDD easy in SilverStripe
Discuss testing in SilverStripe
Then again, I imagine most natual language syntaxes would be easier then php to understand
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.
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
It also seems to be more of an all in one solution
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.
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.
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.
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.
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)
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?