Skip to content
End to End (E2E) test framework - MrChecker
Java Groovy Other
Branch: develop
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
README
docker
documentation change to trigger update Feb 4, 2020
example Implements review findings Jun 25, 2019
resources/style_format
src/resources
template
.gitattributes
.gitignore Feature/move to new repo (#157) Mar 20, 2019
.travis.yml
DevonfwTesting.pdf
LICENSE Updated licence. Jul 9, 2018
README.md
SECURITY.md
settings.xml

README.md

MrChecker template

This repository includes a template to make test using MrChecker and an example.

How to use

To use this template the following steps have to be followed:

  • Download the template.

  • Import it as Maven project using and IDE like Eclipse or InteliJ.

  • Write the code to test an application.

What is included?

Commons

  • resources/settings.properties: List of properties for each test module.

  • resources/secretData: File used to encrypt/decrypt sensitive data used during test execution. For safety please do not keep this file in repository, read more How to keep sensitive data .

  • resources/environments/environments.csv: List of variables with different values based of used test environment. Read more How to use test environments.

Classic Junit structure

  • test/java/com.capgemini.mrchecker/<Module_name>/junit: Folder which includes a java file (MainTest.java) with methods recommended to build a basic test.

  • main/java/com.capgemini.mrchecker/<Module_name>/: Contains a template (MainPage.java) with methods necessary to build a basic page object.

Cucumber structure

  • test/java/com.capgemini.mrchecker/cucumber: Folder to store the cucumber tests (MainCucumberTest.java).

  • test/java/com.capgemini.mrchecker/cucumber/features: Directory to keep cucumber files with features for each test module (basicScenario.features).

  • test/java/com.capgemini.mrchecker/cucumber/stepdefs: Directory to keep cucumber files with steps definition for each test module.

  • test/java/com.capgemini.mrchecker/cucumber/shared: Directory to keep cucumber files with shared data tables for each test module.

The example folder also has a the following tests:

  • Test Data Driven (TDD) Inside test/java/com.capgemini.mrchecker/core/datadriven.

  • Behaviour Driven Development (BDD): Situated on test/java/com.capgemini.mrchecker/cucumber.

You can’t perform that action at this time.