项目作者: Ritesh-Anvekar

项目描述 :
Testing Free fake API 'JSONPlaceholder'
高级语言: Java
项目地址: git://github.com/Ritesh-Anvekar/Code-Challenge.git
创建时间: 2021-05-16T17:33:05Z
项目社区:https://github.com/Ritesh-Anvekar/Code-Challenge

开源协议:

下载


Code-Challenge

{JSON} Placeholder

https://jsonplaceholder.typicode.com

Code Challenge Work Flow

  1. Search for the user with username “Delphine”.
  2. Use the details fetched to make a search for the posts written by the
    user.
  3. For each post, fetch the comments and validate if the emails in the
    comment section are in the proper format.
  4. Think of various scenarios for the test workflow, all the things that
    can go wrong. Add them to test coverage

Additional Test Blocks & Work Flows

Test Blocks

Users

  1. Validate whether the User Name ‘X’ is Unique”.
  2. Validate whether the addition of User is successful, though its faked/mocked !!
  3. Validate whether the deletion of User is successful, though its faked/mocked !!

    Posts

  4. Validate whether the User Id ‘X’ has ‘Y’ number of Posts.

    Comments

  5. Validate Email format for each Comments in the Post Id ‘X’

Circle CI

config.yml

Below you can find the sample Circle CI pipeline execution insights.

Pipeline Job Status

Pipeline Job | Steps

> Test Report] Allure

> Code Coverage Report] Cobertura