Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Test suite for IO API

Notifications You must be signed in to change notification settings

pagopa-archive/io-api-testing

Repository files navigation

IO API TESTING

A test suite for integration testing over the IO api infrastructure

Motivation

We need to test the API ecosystem behind IO-app. Please read the original proposal here.

Requirements

  • nodejs (please refer to .node_version for the specific version to use)
  • yarn

Usage

yarn install
yarn generate
yarn start 

Environment variables

Those are all Environment variables needed by the application:

Variable name Description type
IO_BACKEND_HOST App backend API hostname, including protocol and excluding trailing / string
IO_BACKEND_BASEPATH App backend API base path, excluding trailing / string
SPID_SESSION_TOKEN A valid session token string
SPID_USERNAME Username for the SPID test provider (needed id SPID_SESSION_TOKEN is empty) string
SPID_PASSWORD Password for the SPID test provider (needed id SPID_SESSION_TOKEN is empty) string

License

Please refer to IO license agreement.

Releases

No releases published

Packages

No packages published