You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Introduction

  • Smart Reviewer is a feature designed to streamline the creation of effective, scriptless test cases

    


In Build Test Case, Developer will be able to create a testcase but will not be able to save the changes. They should be able to submit for review. After submitting review, testcase will be in UNDER_REVIEW state where no one can be able to make changes in that testcase. Once the review has been completed by the reviewer, testcase will be saved. If developer wants to do any changes in that testcase when the testcase is in UNDER_REVIEW state, then developer needs to change the status to REWORK.

Under Review

  • In this state, testcase will be locked.
  • When the test case developer tries to edit the testcase, they will not be able to make any changes.
  • At that point, developer must change the REVIEW STATUS from UNDER_REVIEW to REWORK. Then the testcase will be unlocked with the submitted changes. On top of that, developer can do their work.
  • Reviewer will be able to Approve/Merge the testcase once the review has been submitted.
  • When the developer is ready to submit review, they must provide JIRA ticket (for which they create/update a testcase) with a comment (for better understanding). Once the review has been submitted, the review details will be updated as comment in mentioned JIRA ticket. 

Rework

  • In this state, developers will be able to update the UNDER_REVIEW state testcases.
  • After completing the changes, they can submit the testcase for review.
  • Then the testcase will be ready for review which is UNDER_REVIEW state.
  • Reviewer will not be able to Approve/Merge the testcase when its in REWORK state.
  • Once the review has been submitted, the review details will be updated as comment in mentioned JIRA ticket.

Approved

  • This status can be done only by the reviewers.
  • In this state, Reviewer will be able to review all the UNDER_REVIEW testcases.
  • If the testcase looks good, then they can change the status from UNDER_REVIEW to APPROVED.
  • Reviewer should give comments while changing the status.
  • It  will be updated as a comment in JIRA ticket. 

Merged

  • In this state, Reviewer can merge all the approved testcase.
  • This is the last state in review management flow where the testcase will be permanently saved in Database. 

Abandoned

  • In this state, developer can abandon their testcase changes.
  • Once the developer abandons their changes, then the testcase details will be replaced by the previous version of that testcase. 
  • NOTE: There is no way to undo after changing the status to abandoned.

Access

  • Testcase and Review access will be based on USER GROUP of a development owner.
  • All the developers under the USER GROUP will be able to update the Review details from Review Dashboard.
  • If a developer wants to do some changes in a particular testcase, then they should have the access for the USER GROUP under which the testcase is mapped.

Review Dashboard

  • Navigate to Automatics Menu -> Test Manager-> Review Dashboard.
  • Here everyone will be able to see the reviews with all the testcase details, developer, assigned reviewer, and review status.
  • To review a test case, choose the test case and click on  Actions -> Review.
  • User can review the testcase details by using the Review option. It will redirect the user to the testcase in Build Test Case. Their user can review the testcase and can add comments about the development or any change needs to be done, etc.
  • To change the status of the test case, choose the test case and click on Actions -> Change status.
  • According to test case developer's point of view, they will be able to change the status to REWORK or ABANDONED.
  • According to test case reviewer's point of view, they will have the authority to change the status to APPROVED, MERGED, REWORK or ABANDONED.
  • You can also add notes to a review, to add a note choose the test case and click on Actions -> Add Notes
  • The test case developers or the reviewer can add comments to the review by using the Add Notes option.

Configurations in Orchestration


Review-Management-Service Setup

Software Requirement

  • JDK 17

  • Maven 3

JDK 17 Setup Details

Follow Steps below to install Java 17 on CentOS/linux.

    • Update before installing any new program

      yum -y update
    • Install Java 17

      yum install java-17-openjdk
    • Verify Java is Installed

      java –version

Building Review Management Service Source Code

  1. Clone Review Management Service source code from Review Management Service
  2.  Open ReviewManagementService/src/main/resources/application.properties in source code and update the username, password and database name and save the changes.
  3. Build the source code using maven to generate the jar file

"mvn clean install

Deployment

  1. Copy the jar file to the VM where Review Management Service to be deployed.
  2. Create 2 directories review-management-service and logs in VM.
  3. Copy the jar file to review-management-service directory.
  4. Run the below command from review-management-service directory to bring the Review Management Service up in the VM.

    nohup java -XX:+UseSerialGC -Dlog4j2.formatMsgNoLookups=true -jar ReviewManagementService-0.0.1-SNAPSHOT.jar > logfile.log 2>&1 &
  5. reviewservice.log file will be created in the logs directory and we can check the real time logs of the Review Management using this file.
  • No labels