drools-and-cucumber
Behat
drools-and-cucumber | Behat | |
---|---|---|
1 | 3 | |
3 | 3,882 | |
- | 0.1% | |
0.0 | 2.9 | |
over 2 years ago | 21 days ago | |
Java | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
drools-and-cucumber
-
Behavior Driven Testing and Drools
Anyway, so we've got this game, and we've decided to implement our business logic in Drools. In this case our business logic will be stuff like validation (eg. is this procedurally-generated ship valid?) and also for calculations (eg. my ship is of type X, I'm at coordinates Y, and I want to go to coordinates Z ... can I?) For the sake of this question, we're going to consider the validation rules -- but if you're curious about the rest of it, I may have gotten a wee bit carried away implementing the example application available on GitHub.
Behat
-
Modern tools for PHP developers
Other tools worth mentioning include Codeception and behat. Both use phpUnit underneath, but have different approaches to writing tests.
-
When Symfony Http Kernel is a Too Big Hammer to Use
An example of a big CLI project using this with great success is Behat: https://github.com/behat/behat
-
10 Of The Best PHP Testing Frameworks For 2021
Step 3: If you don’t have a Composer, you can easily set up the framework by downloading the latest version of behat.phar.
What are some alternatives?
Drools - This repository is a fork of apache/incubator-kie-drools. Please use upstream repository for development.
Codeception - Full-stack testing PHP framework
Cukes-REST - Cucumber DSL for testing RESTful Web Services
PHPSpec - SpecBDD Framework for PHP
Karate - Test Automation Made Simple
ParaTest - :computer: Parallel testing for PHPUnit
Cucumber - Cucumber for the JVM
Atoum - The modern, simple and intuitive PHP unit testing framework.
kogito-runtimes - This repository is a fork of apache/incubator-kie-kogito-runtimes. Please use upstream repository for development.
php-webdriver - PHP client for Selenium/WebDriver protocol. Previously facebook/php-webdriver
Peridot - Event driven BDD test framework for PHP
Kahlan - :heavy_check_mark: PHP Test Framework for Freedom, Truth, and Justice