Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.
/ abis-testing-kit Public archive

Test framework that can be used by ABIS vendors to test their ABIS against MOSIP

License

Notifications You must be signed in to change notification settings

mosip/abis-testing-kit

Repository files navigation

ABIS testing kit

Provides a test framework for testing ABIS

Requirements

  • python3 > 3.6.x; python3 --version
  • docker > 19.x.x; docker -v

Setup

  • create a .env file in the repository root using the .evn.example file.
  • update the .env with your properties.
  • add your data in REPO_ROOT/sample_data including test_cases.json, test_data.json, respective cbeff files. Default files have already been added if you just want to try.
  • go to REPO_ROOT/scripts folder.
  • run "python3 script.py setup"; this will create a docker image and run it.
  • for rollback, use "python3 script.py rollback".

Dummy ABIS

  • go to REPO_ROOT/src
  • run "python3 dummy_abis.py"; it will start a dummy abis to analyse the request and return responses in queues.

Common list test cases

Documentation

Contents

About

Test framework that can be used by ABIS vendors to test their ABIS against MOSIP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published