Skip to content

Files

Latest commit

 

History

History
97 lines (81 loc) · 4.47 KB

hyperexecute-prioritize-tests.md

File metadata and controls

97 lines (81 loc) · 4.47 KB
id title hide_title sidebar_label description keywords url site_name slug
hyperexecute-prioritize-tests
Prioritize Your Tests
true
Jobs Prioritization
Learn more about how to prioritize your tests with HyperExecute.
LambdaTest Hyperexecute
LambdaTest Hyperexecute help
LambdaTest Hyperexecute documentation
Prioritize Your Tests
LambdaTest
hyperexecute-prioritize-tests/
<script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify({ "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "name": "Home", "item": "https://www.lambdatest.com" },{ "@type": "ListItem", "position": 2, "name": "Support", "item": "https://www.lambdatest.com/support/docs/" },{ "@type": "ListItem", "position": 3, "name": "Integrations", "item": "https://www.lambdatest.com/support/docs/hyperexecute-prioritize-tests/" }] }) }} ></script>

Prioritize Your Tests

HyperExecute's job prioritization feature empowers you to ensure that your most crucial tests are executed with precision and timeliness. This feature not only enhances the order of execution but also enables effortless searchability within your testing repository.

jobLabel


The jobLabel YAML key is used to add tags or labels to jobs. In addition to prioritizing your jobs, you can also use the job labels to search for a job using the relevant label or tag that is assigned to it. To learn more about how to use this feature with the HyperExecute YAML, go through this section.

Prioritize your Jobs using jobLabel


You can prioritize your jobs by assigning the job labels low, medium or high to your jobs. The jobs with the priority high will be executed first, followed by medium priority jobs with low priority jobs at the end.

jobLabel: ['high', 'medium', 'low']

<img loading="lazy" src={require('../assets/images/hyperexecute/features/job-prioritization/prioritize.png').default} alt="Image" style={{width: '700px',}} className="doc_img"/>

:::note

  • By default, all of your jobs are assigned medium priority.
  • The priority keys are not case sensitive.
  • You can use the priority keys along with your regular job labels too. :::

As you can see below, we have executed three jobs; one job is designated as high priority, while the remaining two hold lower priority labels. HyperExecute is configured to adhere to this prioritization framework during execution. As a result, the high-priority job takes precedence and is processed first, followed sequentially by the medium-priority job and subsequently the low-priority job, even though the higher-priority job is executed later. This prioritized execution sequence ensures efficient task management aligned with the specified priority levels.

<img loading="lazy" src={require('../assets/images/hyperexecute/features/job-prioritization/job-priority.png').default} alt="Image" style={{width: '700px',}} className="doc_img"/>

Visualizing Priority Levels

As you can see in the diagram below, when you implement prioritization in your jobs, the high-priority jobs step to the forefront, the medium-priority jobs follow suit, and the low-priority tests gracefully bring up the rear.

<img loading="lazy" src={require('../assets/images/hyperexecute/features/job-prioritization/job_prioritize.png').default} alt="Image" width="1347" height="616" className="doc_img"/>

If you have more questions, then just give us a <span className="doc__lt" onClick={() => window.openLTChatWidget()}>shout and we will answer them for you.