All Projects → jaffamonkey → behat-3-kickstart

jaffamonkey / behat-3-kickstart

Licence: GPL-2.0 license
Behat 3/Mink and Guzzle for API testing. Code follows PageObjects approach. Saucelabs integration.

Programming Languages

PHP
23972 projects - #3 most used programming language
Gherkin
971 projects

Projects that are alternatives of or similar to behat-3-kickstart

originator
🌱 es6 starter - babel, tape, zuul, npm scripts
Stars: ✭ 12 (-7.69%)
Mutual labels:  sauce-labs
XH5For
XDMF parallel partitioned mesh I/O on top of HDF5
Stars: ✭ 23 (+76.92%)
Mutual labels:  parallel
php-curl-cookbook
PHP CURL Cookbook 📖
Stars: ✭ 83 (+538.46%)
Mutual labels:  guzzle
robotframework-pageobjectlibrary
Lightweight keyword library for implementing the PageObject pattern in Robot Framework
Stars: ✭ 76 (+484.62%)
Mutual labels:  pageobject
dflow
A lightweight library for designing and executing workflows in .NET Core
Stars: ✭ 23 (+76.92%)
Mutual labels:  parallel
php-toolbox
🐳 A Docker image designed for PHP developers that care about code quality.
Stars: ✭ 18 (+38.46%)
Mutual labels:  behat
pwm
Parallel Wavelet Tree and Wavelet Matrix Construction
Stars: ✭ 17 (+30.77%)
Mutual labels:  parallel
php-parallel
The class allows you to run multiple operations parallel in different processes and send results to the main process. Useful if you need to run multiple independent operations simultaneously, instead of sequential execution, or if you run several independent queries, for example, queries to different data bases.
Stars: ✭ 16 (+23.08%)
Mutual labels:  parallel
MinkZombieDriver
Zombie.js driver for Mink framework
Stars: ✭ 41 (+215.38%)
Mutual labels:  mink
CESM postprocessing
Project repository for the CESM python based post-processing code, documentation and issues tracking.
Stars: ✭ 63 (+384.62%)
Mutual labels:  parallel
thread-pool
BS::thread_pool: a fast, lightweight, and easy-to-use C++17 thread pool library
Stars: ✭ 1,043 (+7923.08%)
Mutual labels:  parallel
malib
A parallel framework for population-based multi-agent reinforcement learning.
Stars: ✭ 341 (+2523.08%)
Mutual labels:  parallel
pennylane-lightning
The PennyLane-Lightning plugin provides a fast state-vector simulator written in C++ for use with PennyLane
Stars: ✭ 28 (+115.38%)
Mutual labels:  parallel
useful-scripts
common useful script
Stars: ✭ 30 (+130.77%)
Mutual labels:  parallel
do
Simplest way to manage asynchronicity
Stars: ✭ 33 (+153.85%)
Mutual labels:  parallel
SIMDArray
SIMD enhanced Array operations
Stars: ✭ 123 (+846.15%)
Mutual labels:  parallel
twitter-stream-api
🐤 Another Twitter stream PHP library to retrieve filtered tweets on hot.
Stars: ✭ 11 (-15.38%)
Mutual labels:  guzzle
parallelizer
Simplifies the parallelization of function calls.
Stars: ✭ 62 (+376.92%)
Mutual labels:  parallel
guzzle-oauth2-subscriber
OAuth 2.0 Client for Guzzle 4, 5, 6 and 7 with PHP 5.4 - PHP 8.0 - no more dependency hell!
Stars: ✭ 112 (+761.54%)
Mutual labels:  guzzle
OpenABL
A domain-specific language for parallel and distributed agent-based simulations.
Stars: ✭ 24 (+84.62%)
Mutual labels:  parallel

Build Status

Key components:

Behat 3 Mink Extension PageObjects WebAPIContext

SETUP

From Behat repo root folder run following commands:-

RUNNING SELENIUM BROWSER TESTS

Before running behat to test the feature files in features directory, ensure the following commands are executed :-

  • java -jar selenium-server-standalone-[version].jar

To run tests (open another terminal window):-

  • bin/behat features

Second test runs using Guzzle (for API), the rest using Firefox

RUNNING PHANTOMJS TESTS

  • phantomjs --webdriver=4444
  • bin/behat -p phantomjs features

PERFORMANCE/PARALLEL TESTING

  • apt-get install parallel
  • java -jar selenium-server-standalone-2.43.1.jar --role hub
  • find features -iname '*.feature'| parallel --gnu -j5 --group bin/behat --ansi {}

CROSS BROWSER

Using saucelabs service, you can run tests against most OS/browser combinations and mobile platforms too.

I added an example profile for IE8, as example. To run it, first run sauceconnect config:-

  • bin/sauce_config saucelabs_user_id saucelabs_api_key

Now try running the tests ....

  • bin/behat -p saucelabs_ie8 features/

If you want to use saucelabs service against a localhost url, or any url behind a firewall, then follow these steps (assuming linux):

  1. sudo wget https://saucelabs.com/downloads/sc-4.3.8-linux.tar.gz
  2. sudo tar -xvf sc-4.3.8-linux.tar.gz
  3. cd sc-4.3.8-linux
  4. bin/sc -u saucelabs_user_id -k saucelabs_api_key

REPORTING

As well as a html style report, there is a graphical report-based version using Twig. These are generated in the "reports" folder. Below is example of the Twig report output.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].