summaryrefslogtreecommitdiff
path: root/yarns/100-version.yarn
blob: af28837a86a4ed2bcc1d3bf11e8ba9b80c7d983c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
title: Qvisqve integration tests
author: Lars Wirzenius / QvarnLabs Ab
date: work in progress
...


# Introduction

This is an integration test suite for Qvisqve, an authorization server
and identity provider.


# Version checking

This scenario tests whether Qvisqve reports it version. This is not
useful as such, but it makes sure we can start and stop Qvisqve, and
that all the request routing works, and so on.

    SCENARIO Qvisqve reports its version

    GIVEN a Qvisqve configuration for "https://qvisqve.example.com"
    AND a running Qvisqve instance

    WHEN client requests GET /version without token
    THEN HTTP status code is 200 OK

    FINALLY Qvisqve is stopped