Latest php on MacOS through homebrew
With INTL, MySQL and PgSQL:
brew install --with-intl --with-mysql --with-pgsql https://raw.github.com/adamv/homebrew-alt/master/duplicates/php.rb
Behat: Bye-bye ninja-style Ruby, hello oop-style PHP?
Now, as Behat is mature product, it’s time to listen userbase. Most often feedback is: http://twitter.com/alexandresalome/status/78109547872522240 Which means something like: “Why PHP tool can’t be more PHP and less Ruby style?”. It CAN!
Symfony is a PHP’s Harvey Dent! Because it’s a community PHP doesn’t deserves, but the one it needs right now!
Behat v0.3
Today i’m releasing new major version of Behat. It’s 0.3 & generally focused on hooks & formatters. I’ve totally refactored filters, hooks loaders/container/dispatcher & added 2 new great formatters.
Source: everzet.com
hello/console behat:test:bundle …
Another great day in PHP BDD history ;-)
Today is the day of EverzetBehatBundle release.
Source: symfony2bundles.org
Behat v0.2.4 (formatters bugfix)
I’ve introduced very serious bug in v0.2.3, that causes Behat to fails on UNIX (not MacOS) systems, because for UNIX 'prettyFormatter.php' != 'PrettyFormatter.php', but for MacOS fs 'prettyFormatter.php' == 'PrettyFormatter.php'. And i’m on MacOS =/
Sorry for that, i’ve fixed bug and uploaded new Behat version to pear.everzet.com & to GitHub.
Also, v0.2.4 introduces console colors support autodetection. So, on systems, that not supporting colors (hey, Windows!) there’s no need to specify --no-color option anymore.
Update now!
Source: everzet.com
Behat v0.2.3
I’ve updated Behat to 0.2.3 version. It includes bunch of bug-fixes and code improvements:
http://github.com/everzet/Behat/compare/v0.2.2…v0.2.3
I’ve moved Loading routines for Features, StepDefinitions, Hooks inside their own Containers with ability to specify custom loaders (annotated classes for example).
Also, i’ve updated sfBehatPlugin to 1.1.0:
http://github.com/everzet/sfBehatPlugin/compare/v1.0.2…v1.1.0
upgrade it with:
./symfony plugins:upgrade sfBehatPlugin
And update configuration with:
./symfony behat:setup
Now behat.yml moved from project root into config/behat.yml. So all your configs now live in one place!
Also, i’m very happy to say that Symfony2 BehatBundle is on finish line & i will release it tomorrow!
Source: everzet.com
Behat v0.2.0 aka BigUpdate
Behat 0.2 released. It’s major update with bunch of new features & fixes. And now, Behat is in beta stage. So, if you haven’t use it yet… Hell, it’s about time!
Source: everzet.com
BDD in PHP or “Just Be Hat”
Today is a great day. Why? Because from today we can write Cucumber-like behavior tests in php.
I’ve finished first alpha of Behat. Behat – is behavior driven development framework for php, based on Cucumber’s Gherkin syntax. It means, that it works with same feature files, Cucumber does & generate almost the same output, Cucumber does. But inside… Inside it’ modern, beautifull php 5.3 project build on top of:
- Symfony Dependency Injection Container component
- Symfony Event Dispatcher component
- Symfony Console component
It means, Behat very fast, flexible and even beautifull to use right now. Go to official site. Or check the code.