This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Add support for Behat-BDD for PHP | ||
---|---|---|---|
Product: | php | Reporter: | songoko20000 |
Component: | Project | Assignee: | Tomas Mysik <tmysik> |
Status: | NEW --- | ||
Severity: | normal | CC: | fonsecas72, myke |
Priority: | P3 | ||
Version: | 8.0.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
songoko20000
2013-02-27 20:20:26 UTC
+1 +2 +1 for Behat support. @songoko20000@netbeans.org: PHPUnit is not deprecated in favor of Behat. 1. PHPUnit is a unit testing tool, while Behat is a functional/acceptance testing tool. 2. Devs are encouraged to use PHPUnit functions while writing Behat tests (Behat does not provide any assertion methods). Anyway, http://plugins.netbeans.org/plugin/17939/cucumber-features Highlights syntax, works with NB8. http://plugins.netbeans.org/plugin/46231/cetriolo More features: highlights syntax, autocompletes, has navigator, works with NB8, but does not recognize PHP feature context steps. Behat support could be based upon Cetriolo plugin. BDD support was deprecated then removed entirely from PHPUnit. see: https://github.com/sebastianbergmann/phpunit/commit/6aa9183496f9bb2131d17ba08195a93a07937762#comments and http://everzet.com/post/1274470180/behat-bigupdate and finally a quote from PHPUnit main site: http://phpunit.de/manual/3.7/en/behaviour-driven-development.html Caution You want to use Behat for Behaviour-Driven Development instead of the PHPUnit_Extensions_Story_TestCase extension to PHPUnit that is discussed in the remainder of this chapter. It seems you were confused by my comment, but I was talking about BDD support in PHPUnit. (In reply to MacDada from comment #3) > +1 for Behat support. > > @songoko20000@netbeans.org: PHPUnit is not deprecated in favor of Behat. > 1. PHPUnit is a unit testing tool, while Behat is a functional/acceptance > testing tool. > 2. Devs are encouraged to use PHPUnit functions while writing Behat tests > (Behat does not provide any assertion methods). > > > Anyway, > > http://plugins.netbeans.org/plugin/17939/cucumber-features > Highlights syntax, works with NB8. > > http://plugins.netbeans.org/plugin/46231/cetriolo > More features: highlights syntax, autocompletes, has navigator, works with > NB8, but does not recognize PHP feature context steps. > > Behat support could be based upon Cetriolo plugin. Very like this +1 +1 +1 +1 would be great |