stoney core: REST API (Testing): Difference between revisions

From stoney-cloud.org
Jump to navigation Jump to search
Line 10: Line 10:
* [[stoney core: Search Resource - REST API]]
* [[stoney core: Search Resource - REST API]]


= Test Division =
= Testing Naming Schema =
The automated Frisby tests test all resources and sorted based on the relationships. As described in [[stoney_core:_REST_API#Relationships | stoney core: REST API]], the relationships are hierarchical:
The automated Frisby tests test all resources and sorted based on the relationships. As described in [[stoney_core:_REST_API#Relationships | stoney core: REST API]], the relationships are hierarchical:



Revision as of 14:29, 4 August 2014

Overview

This page describes, how and what to test. The goal is to automate all tests with Frisby. Frisby is a REST API testing framework built on node.js and Jasmine.

stoney core resources

The following stoney core resources have automated Frisby tests:

Testing Naming Schema

The automated Frisby tests test all resources and sorted based on the relationships. As described in stoney core: REST API, the relationships are hierarchical:

Service Provider Person > Reseller Employee > Customer Employee > Reseller Person and Customer Person

The further down you go, the less rights a person has.

To make sure, that the tests are executed in the proper order, the following naming schema applies: