Giter Club home page Giter Club logo

challenge-ecore-automation-web's Introduction

challenge-ecore-automation-web

Business Feature

Features Automated

Project Structure

Ruby Version Capybara Version Cucumber Version Rspec Version SitePrism Version ReportBuilder Version

./
├── docs/
├── features/
│   ├── hooks/
│   ├── pages/
│   ├── specs/
│   ├── step_definitions/
│   └── support/
│       ├── config/
│       │   └── environments.yml
│       ├── helpers/
│       │   ├── secrets_helper.rb
│       │   └── steps_helper.rb
│       ├── env.rb
│       └── report_builder.rb
├── reports/
│   ├── report-builder/
│   └── screenshots/
├── .gitignore
├── cucumber.yml
├── Gemfile
├── Gemfile.lock
└── README.md

Configuring Environment

We assume that you already have Ruby available in the terminal, if you don't, follow a step by step.

Now you will need WebDriver to use Web Browser and bundler to download ruby project package dependencies in "Gemfile" file.

To develop locally we recommend using VS Code with some plugins:

Install and configure an IDE with the "AWS Secrets Manager" to be able to use SecretsManager to store data masses of the project tests.


Run Tests

To run the tests locally, open the project folder in the terminal and run the command:

cucumber

Or to run a specific test tag:

cucumber -t @myTag

Change Execution Environments

By default the tests will run in the QA environment according to the "environments.yml" file.

Environments available for configuration:

  • dev
  • qa
  • prod

To change the environment at runtime, add the "ENV" parameter in the terminal:

cucumber ENV=dev

To change the default environment, go to the "cucumber.yml" file and change line 4:

default: (...) -p qa

If you want to point to a specific URL:

cucumber URL=http://environment-url.test

challenge-ecore-automation-web's People

Contributors

mickhill-qa avatar

Stargazers

Emanuele Amanda Marques avatar David Nascimento avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.