Skip to content

laxmikantm/my-api-framework-for-mphasis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

== Instructions ==

All tests are build using standard packaging solution: Maven. & could be centrally deployed using standard POM.XML Test are written in Cucumber BDD fashion

System Requirements:

OS: Mac OS X or Win 8

Java 8 SDK

To Run the Tests

Option1 (preferred)

a) Import Maven Dependencies

b) Check the BDD Feature files located at:

> src/test/resources/features

b) In IntelliJ Go to src> test> runners> RunCucumberIT

c) Right click and Run

Test Run Status

Option2*

a) From commandline invoke mvn clean test [*: Few maven customisations needed]

Note:

  1. The Test Runner will create Cucumber report at below folder target/cucumber-html-report

  2. Also, a interactive Donut report will be created in ${project.build.directory}/donut Command: mvn clean integration-test generate * Note: This plugin might need some local customisation.

  3. Logs will be generated under /log folder present under root directory

Future Improvements Planned

  1. Modularise Wiremock functionality.
  2. Add more granular assertions
  3. Add API tests for other requests POST, PUT, DELETE
  4. Implement Wiremock server start and stop through cucumber hook implementation

Please feel free to get back to me on the below email: [email protected]

Many Thanks

(c) L Somni

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published