An open API service indexing awesome lists of open source software.

https://github.com/gnikyt/shopify_api_test_example

Examples on how to use mocks and fixtures to test your Shopify API calls.
https://github.com/gnikyt/shopify_api_test_example

express ruby shopify shopify-api testing

Last synced: 2 months ago
JSON representation

Examples on how to use mocks and fixtures to test your Shopify API calls.

Awesome Lists containing this project

README

          

# Shopify API Test Example

[![Build Status](https://secure.travis-ci.org/ohmybrew/shopify_api_test_example.svg?branch=master)](http://travis-ci.org/ohmybrew/shopify_api_test_example)

This repository outlines simple code on how to use mocks, fixtures, and tests, to test your Shopify API calls.

## Installation

```bash
git clone https://github.com/ohmybrew/shopify_api_test_example.git
cd shopify_api_test_example
bundle install --path vendor/bundle
bundle exec rake SHOPIFY_SHOP=coolshop.myshop.com
```

## Final Thoughts

Take a look at the `test/metafields_test.rb` file for how to implement and expand upon the tests for your own applications.