Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bobvanluijt/magento-2-rest-api-bdd
Magento 2 user interaction testing based on MAGE2 REST APIs
https://github.com/bobvanluijt/magento-2-rest-api-bdd
Last synced: 6 days ago
JSON representation
Magento 2 user interaction testing based on MAGE2 REST APIs
- Host: GitHub
- URL: https://github.com/bobvanluijt/magento-2-rest-api-bdd
- Owner: bobvanluijt
- Created: 2016-09-23T09:16:31.000Z (about 8 years ago)
- Default Branch: develop
- Last Pushed: 2016-09-23T08:47:16.000Z (about 8 years ago)
- Last Synced: 2024-12-15T11:57:10.986Z (8 days ago)
- Language: JavaScript
- Homepage: http://dorel.io
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Behavior driven development for Magento 2 API
These test scripts validate a complete user experience based on the [Magento 2 REST API](http://devdocs.magento.com/guides/v2.0/rest/bk-rest.html) and the sample data.Master branch | Develop branch
--- | ---
[![Build Status](https://travis-ci.org/dorel/Magento-2-REST-API-BDD.svg?branch=master)](https://travis-ci.org/dorel/Magento-2-REST-API-BDD) | [![Build Status](https://travis-ci.org/dorel/Magento-2-REST-API-BDD.svg?branch=develop)](https://travis-ci.org/dorel/Magento-2-REST-API-BDD)## How it works
The Travis-ci YAML file installs a complete Magento 2 platform and enables the anonymous REST API's.## Contribute
1. Contribute following the [Gitflow](http://nvie.com/posts/a-successful-git-branching-model/) method. You can create a feature branch that can be merged later into dev for testing.
2. All testcases should be done inside the file test/scenarios.js
3. Properly define your `it()` function. Example: `it('should output foo bar in JSON')`
4. Always use JSON
5. When creating or updating sessions, always make them available in the appropriate scope to mimic user behavior best.## Issues
Log issues in the Github Issues tab