https://github.com/remotestorage/api-test-suite
Test suite for RS server REST APIs
https://github.com/remotestorage/api-test-suite
remotestorage ruby
Last synced: 12 months ago
JSON representation
Test suite for RS server REST APIs
- Host: GitHub
- URL: https://github.com/remotestorage/api-test-suite
- Owner: remotestorage
- License: mit
- Created: 2015-03-29T21:09:40.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T22:29:59.000Z (about 4 years ago)
- Last Synced: 2025-05-07T04:44:19.374Z (12 months ago)
- Topics: remotestorage, ruby
- Language: Ruby
- Homepage:
- Size: 83 KB
- Stars: 8
- Watchers: 11
- Forks: 2
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# REST API test suite for remoteStorage servers
This test suite can be used to verify the compatibility of any server on the
Web with the REST API part of the [remoteStorage
spec](http://tools.ietf.org/html/draft-dejong-remotestorage-04) (version 03 up
to 05; valid for later versions but missing specs for some newer features).
## Requirements
- `ruby 2.6` or `2.7` and `bundler` installed on your OS
- A remoteStorage test account with no data in it, and three tokens
for that account: one with read/write access to a category (such as
`api-test`), one with read-only access to that category, and one with
read/write access to all categories (root access) (Hint: The [example
app](https://github.com/remotestorage/armadietto/tree/master/example) in
the Armedietto repository can help you generate these.)
- Another account on the server (which can have any data in it,
and which won't be altered by a successful test).
## Usage
- Copy `config.yml.example` to `config.yml` and edit the required values/tokens
- `bundle install`
- `rake test`