All Projects → alphagov → smokey

alphagov / smokey

Licence: MIT license
Smoke tests for GOV.UK

Programming Languages

ruby
36898 projects - #4 most used programming language
Gherkin
971 projects
python
139335 projects - #7 most used programming language
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to smokey

publishing-api
API to publish content on GOV.UK
Stars: ✭ 29 (-30.95%)
Mutual labels:  container, govuk
search-api
Search API for GOV.UK
Stars: ✭ 21 (-50%)
Mutual labels:  container, govuk
finder-frontend
Serves finder and search pages for GOV.UK
Stars: ✭ 15 (-64.29%)
Mutual labels:  container, govuk
collections
Serves GOV.UK navigation pages, browse, topic, step-by-steps & services and information pages.
Stars: ✭ 32 (-23.81%)
Mutual labels:  container, govuk
content-data-api
Data warehouse that stores content and content metrics to help content owners measure and improve content on GOV.UK
Stars: ✭ 13 (-69.05%)
Mutual labels:  container, govuk
publisher
Publishes mainstream content on GOV.UK
Stars: ✭ 42 (+0%)
Mutual labels:  container, govuk
government-frontend
Serves government pages on GOV.UK
Stars: ✭ 42 (+0%)
Mutual labels:  container, govuk
edap
No description or website provided.
Stars: ✭ 22 (-47.62%)
Mutual labels:  container
docker-metasploit
Metasploit framework with steroids
Stars: ✭ 49 (+16.67%)
Mutual labels:  container
Sonarr-AnimeDownloader
It is a Docker Container that uses Sonarr to download anime from AnimeWorld site (ITALY).
Stars: ✭ 28 (-33.33%)
Mutual labels:  container
soulseek-docker
🐳 Soulseek Over noVNC Docker Container
Stars: ✭ 149 (+254.76%)
Mutual labels:  container
s2i-ruby-container
Ruby container images based on Red Hat Software Collections and intended for OpenShift and general usage, that provide a platform for building and running Ruby applications. Users can choose between Red Hat Enterprise Linux, Fedora, and CentOS based images.
Stars: ✭ 55 (+30.95%)
Mutual labels:  container
scaleway-csi
Container Storage Interface (CSI) Driver for https://www.scaleway.com/block-storage/
Stars: ✭ 52 (+23.81%)
Mutual labels:  container
typescript-container-action-template
🐙 Template repository to create a GitHub container action in Node.js with TypeScript
Stars: ✭ 25 (-40.48%)
Mutual labels:  container
cubefs
CubeFS is a cloud native distributed storage platform.
Stars: ✭ 3,062 (+7190.48%)
Mutual labels:  container
scif
scientific filesystem: a filesystem organization for scientific software and metadata
Stars: ✭ 30 (-28.57%)
Mutual labels:  container
awesome-cloud-native-security
awesome resources about cloud native security 🐿
Stars: ✭ 233 (+454.76%)
Mutual labels:  container
typeioc
Dependency injection container for typescript / javascript
Stars: ✭ 32 (-23.81%)
Mutual labels:  container
plf queue
A C++ data container replicating std::queue functionality but with better performance.
Stars: ✭ 20 (-52.38%)
Mutual labels:  container
akk-stack
Containerized EverQuest Emulator Server Environment
Stars: ✭ 36 (-14.29%)
Mutual labels:  container

GOV.UK Smoke Tests

A suite of Cucumber tests that probe GOV.UK frontend and backend publishing functionality. The tests use Selenium to manipulate a headless Chrome browser.

The tests are run in two different ways:

Each test should check that a critical area of GOV.UK is working as expected. Read the guidance on what tests belong here and how to write new ones.

Technical documentation

You can use the GOV.UK Docker environment to run the application and its tests with all the necessary dependencies. Follow the usage instructions to get started.

Use GOV.UK Docker to run any commands that follow.

Running the test suite

Note: you will need to be connected to the VPN to test against Integration or Staging.

The tests require additional configuration to run successfully on a local machine.

env \
ENVIRONMENT=integration \
SIGNON_EMAIL="<email-address>" \
SIGNON_PASSWORD="<password>" \
bundle exec cucumber

You can use the following environment variables to configure the tests:

  • ENVIRONMENT: controls domains returned by Plek (see env.rb)
  • SIGNON_EMAIL: email of a Signon user in $ENVIRONMENT
  • SIGNON_PASSWORD: password of a Signon user in $ENVIRONMENT
  • RATE_LIMIT_TOKEN: (optional) a token used to bypass rate limiting if present on apps.

You can try using your own Signon account, but this won't work if you have Multi Factor Auth enabled. Another option is to use the credentials for the Smokey test user in govuk-secrets/puppet_aws:

bundle exec rake 'eyaml:decrypt_value[integration,smokey_signon_email]'
bundle exec rake 'eyaml:decrypt_value[integration,smokey_signon_password]'
bundle exec rake 'eyaml:decrypt_value[integration,smokey_rate_limit_token]'

Further documentation

Licence

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].