com.intuit.cloudraider:cucumber-example

FMEA Testing Made Simple

License

License

Categories

Categories

IDE Development Tools Cucumber Application Testing & Monitoring
GroupId

GroupId

com.intuit.cloudraider
ArtifactId

ArtifactId

cucumber-example
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

FMEA Testing Made Simple

Download cucumber-example

How to add to project

<!-- https://jarcasting.com/artifacts/com.intuit.cloudraider/cucumber-example/ -->
<dependency>
    <groupId>com.intuit.cloudraider</groupId>
    <artifactId>cucumber-example</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.intuit.cloudraider/cucumber-example/
implementation 'com.intuit.cloudraider:cucumber-example:0.1.0'
// https://jarcasting.com/artifacts/com.intuit.cloudraider/cucumber-example/
implementation ("com.intuit.cloudraider:cucumber-example:0.1.0")
'com.intuit.cloudraider:cucumber-example:jar:0.1.0'
<dependency org="com.intuit.cloudraider" name="cucumber-example" rev="0.1.0">
  <artifact name="cucumber-example" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.intuit.cloudraider', module='cucumber-example', version='0.1.0')
)
libraryDependencies += "com.intuit.cloudraider" % "cucumber-example" % "0.1.0"
[com.intuit.cloudraider/cucumber-example "0.1.0"]

Dependencies

compile (13)

Group / Artifact Type Version
com.intuit.cloudraider : cloudraider-core jar 0.1.0
com.google.guava : guava jar 22.0
org.testng : testng jar 6.9.10
junit : junit jar 4.12
org.slf4j : slf4j-api jar 1.7.21
ch.qos.logback : logback-classic jar 1.1.7
com.jayway.restassured : rest-assured jar 2.9.0
ch.qos.logback : logback-core jar 1.1.7
com.fasterxml.jackson.core : jackson-databind jar 2.9.9
io.cucumber : cucumber-java jar 2.3.1
io.cucumber : cucumber-testng jar 2.3.1
net.masterthought : cucumber-reporting jar 3.12.0
com.relevantcodes : extentreports jar 2.41.2

test (7)

Group / Artifact Type Version
io.cucumber : cucumber-junit jar 2.3.1
io.cucumber : cucumber-spring jar 2.3.1
org.springframework : spring-test jar 4.3.22.RELEASE
org.springframework : spring-core jar 4.3.22.RELEASE
org.springframework : spring-tx jar 4.3.22.RELEASE
org.springframework : spring-context jar 4.3.22.RELEASE
org.jacoco : org.jacoco.agent pom 0.8.3

Project Modules

There are no modules declared in this project.



Support Build Status GitHub release Apache 2

Introduction to Cloud-Raider

CloudRaider is a new Testing Framework to perform "Failure Mode Effect Analysis" (FMEA) testing in AWS. Cloud Raider also provide behavior driven testing approach via Cucumber framework. Cloud Raider provides a programmatic way to execute controlled failures, and also recover quickly back to normal. As it provides BDD way to write test cases, your FMEA test plan can itself become your test cases that can be executed as is.

Chaos Engineering

The Cucumber Client also provides functionality for running automated FMEA tests through the principles of Chaos Engineering. To learn more, Please review here

Getting Started

Install JDK

Install Java 8 JDK JDK 8 Doc: http://docs.oracle.com/javase/8/docs/ JDK 8 Download: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Java Version: JDK 1.8.0_51 You can check this by typing in the command line: java –version (Java 8 is required for the build) Set the JAVA_HOME system environment variable to /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home Add $JAVA_HOME to the PATH system environment variable

Install Maven

Maven 3.0.x is available by default in Mac OS X(3.0.3 in Lion,3.0.2 in Snow Leopard after Java for Mac OS X 10.6 update 4) Verify this using mvn –version from the command line To upgrade to Maven 3.2.1, do the following Download the Maven 3.2.1 binary zip from http://maven.apache.org/download.html. Unzip the downloaded file (apache-maven-3.2.1-bin.zip) to the desired location (e.g., /Applications). Set the M2_HOME system environment variable to the installation directory (e.g., /Applications/apache-maven-3.2.1). Prepend $M2_HOME/bin to the PATH system environment variable. From the command line, verify that Maven has been installed correctly: mvn --version

AWS Credentials

A prerequisite to running any of the test cases above is, setting up AWS credentials. For details on how to setup credentials please follow http://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html For testing with credentials profile files, update ~/.aws/credentials and ~/.aws/config files. The validator uses the standard as credentials resolving chain. This means that we can use environment variables such as AWS_DEFAULT_PROFILE or command line such as aws.profile. see aws docs for all options and syntax

Test Client

Please use the example test module to get familiar about how to create and execute test cases

Credentials can be provided in config, Environment variables or the standard .aws/config file

Cucumber Example

Please review here

Java Example

Please review here

Installing Cucumber Plugin

IntelliJ
https://www.jetbrains.com/help/idea/cucumber.html
Eclipse
https://shankargarg.wordpress.com/2016/05/15/integrating-eclipse-with-cucumber-natural-plugin/
AWS Simple System Manager

CloudRaider supports execution of commands on EC2 hosts via AWS Simple System Manager (SSM) You can find more information about SSM here

com.intuit.cloudraider

Intuit

Powering prosperity around the world.

Versions

Version
0.1.0