Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Infrastructure test tool based on Cucumber.js • This repository is defined and managed in Terraform

License

Notifications You must be signed in to change notification settings

ministryofjustice/modernisation-platform-infrastructure-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modernisation Platform infrastructure test tool based on Cucumber.js

repo standards badge

Prerequisites

Before running the features for the first time, add required dependencies

npm install --save-dev @cucumber/cucumber
npm install shelljs
npm install sleep

Configure AWS profiles in ~/.aws/config, for example

[default]
region = eu-west-2

[profile mod-root]
mfa_serial = arn:aws:iam::123456789991:mfa/george-f-admin
credential_process = aws-vault exec mod-root --json --prompt=osascript

[profile sprinkler-development]
source_profile=mod-root
role_arn=arn:aws:iam::123456789992:role/ModernisationPlatformAccess
mfa_serial=arn:aws:iam::123456789991:mfa/george-f-admin
role_session_name=george-f-admin

Usage

Run features

./node_modules/.bin/cucumber-js

References

  1. https://github.com/cucumber/cucumber-js
  2. Running specific features
  3. https://cucumber.io/docs/gherkin/reference/
  4. https://github.com/cucumber/cucumber-expressions/
  5. https://nodejs.org/api/assert.html
  6. Accessing EC2s using bastions
  7. Avoiding too much security

About

Infrastructure test tool based on Cucumber.js • This repository is defined and managed in Terraform

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published