com.intuit.cloudraider:cloudraider-core

FMEA Testing Made Simple

License

License

Categories

Categories

IDE Development Tools
GroupId

GroupId

com.intuit.cloudraider
ArtifactId

ArtifactId

cloudraider-core
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

FMEA Testing Made Simple

Download cloudraider-core

How to add to project

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

Dependencies

compile (16)

Group / Artifact Type Version
com.amazonaws : aws-java-sdk jar 1.11.213
com.pastdev : jsch-extension jar 0.1.11
io.cucumber : cucumber-java jar 2.3.1
io.cucumber : cucumber-testng jar 2.3.1
io.cucumber : cucumber-spring jar 2.3.1
net.masterthought : cucumber-reporting jar 3.12.0
com.relevantcodes : extentreports jar 2.41.2
com.jayway.restassured : rest-assured jar 2.9.0
dnsjava : dnsjava jar 2.1.8
org.slf4j : slf4j-api jar 1.7.1
org.slf4j : slf4j-log4j12 jar 1.7.1
junit : junit jar 4.12
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
io.fabric8 : kubernetes-client jar 4.1.3

test (8)

Group / Artifact Type Version
org.mockito : mockito-all jar 1.10.17
io.cucumber : cucumber-junit jar 2.3.1
org.powermock : powermock-module-junit4-rule-agent jar 1.7.4
org.powermock : powermock-module-junit4 jar 1.7.4
org.powermock : powermock-api-mockito jar 1.7.4
org.springframework : spring-test jar 4.3.22.RELEASE
org.jacoco : org.jacoco.agent jar 0.8.3
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