- 03 Oct 2022
- 3 Minutes to read
- Updated on 03 Oct 2022
- 3 Minutes to read
With every release, AutoRABIT is looking to improve its application quality, achieve in-sprint automation to align with continuous delivery.
AccelQs Quality Driven Development (QDD) implements an innovative Agile Quality Life Cycle approach, integrating the usual test silos into an end-to-end automated process. AccelQ is built on a cognitive core engine bringing the power of predictive analytics in scenario design, autonomics in test automation, and adaptive change management in traceability.
Integrating AccelQ as a Plugin into AutoRABIT
To integrate AccelQ as a plugin with AutoRABIT, it does require some steps in AutoRABIT to get it configured. The below section will help you out to get AccelQ configured in AutoRABIT in easy steps.
Step 1: Store your user's AccelQ credential in AutoRABIT
This is an initial step where the user's AccelQ credential such as username and password is stored in AutoRABIT.
- Log in to your AutoRABIT account.
- Go to the Credentials tab.
- Click on Create Credential button from the right navigation bar.
- On the next pop-up screen, give a credential name.
- Choose the Credential Type as "User name with Password."
- Enter your username and AccelQ API token in the Password field.
- Please double-check that you use your AccelQ username instead of the email address that you use to log in to AccelQ.
- Click Save.
Step 2: Integrate AccelQ with AutoRABIT
- Go to the My Account page.
- In the Plugins section, select AccelQ under Test Types.
- Fill in the below details to integrate AccelQ:
- URL: Enter the AccelQ registered endpoint URL. For ex- poc.accelq.io
- Tenant Code: Enter the Tenant code received from AccelQ. If you're not aware of this, you can retrieve your Tenant code from the "AUTH PROPERTIES" section in the User's Profile card on AccelQ.
- Select Credential: Select the user's credential registered as mentioned in Step 1.
- Once you're done filling the AccelQ fields, click on Save to complete the integration process.
Adding AccelQ configuration in CI Job
- Go to the New CI Job screen.
- Select any one of the below criteria for your CI job:
- Deploy from Salesforce Org
- Deploy from Version Control
- Deploy from Salesforce Org with a Version Control backup
- Deploy SFDX source from Version Control
- Run Test Automation Scripts
- Install an Unlocked Package from a Version Control Branch
- Give the job a descriptive name in the CI Job Name field.
- Go to the Test section. Here you will need to select AccelQ to run the functional test cases to test the functionality of the code being deployed to production.
- Select Fetch Test Cases From as AccelQ.
- Enter your Project Name and the Test Job Name.
You can find your project name from the "AUTH PROPERTIES" section in the User's Profile card on AccelQ. Similarly, the test job name will be available in the Job section on AccelQ.
- Set the parameter(s) for your AccelQ test cases as shown below.
- Click Save.
- So, once the configured CI job is run and the build is triggered, AccelQ will review the code changes and functional review information can be found in the CI Job Result under the Functional Tests section. Here, you can find the status of the functional test done along with other details such as the number of components that successfully got reviewed, the number of components failed to review, components that are about to get reviewed or are in the queue.
- To view the detailed success or failure report, click on the link available under Functional Tests.
- Success Report:
- Failure Report:
- Click on Error Details for each test case being reviewed to view the error report.
Adding AccelQ configuration in the 'Deployment Setting' screen
In the Deployment Setting screen, while performing a new deployment, you need to select AccelQ to fetch the test cases.
Enter your Project Name and the Test Job Name.
You can find your project name from the "AUTH PROPERTIES" section in the User's Profile card on AccelQ.
Similarly, the test job name will be available in the Job section on AccelQ.
When the deployment is executed, you can find the AccelQ test cases report in the Deployment History screen. Click on the Test Results button for the detailed AccelQ report.