Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You can often connect an existing test suite to LAVA without rewriting its test logic: adapt the runner’s reporting layer to emit recognizable per-test signals in its output. Tim Orling’s 2018 presentation, “Teaching Your Test Framework to Speak LAVA”, demonstrates that approach with pytest, BATS, and OpenEmbedded ptest. Its code is historical, however—not a guide to current API compatibility.

How does a test framework communicate results to LAVA?

The presentation’s central idea is to make the test runner print structured markers that identify individual test cases and their outcomes. In the examples, those markers are:

  • LAVA_SIGNAL_STARTTC when a test case starts.
  • LAVA_SIGNAL_ENDTC when it ends.
  • LAVA_SIGNAL_TESTCASE followed by a test-case ID and a result such as pass or fail.

LAVA can then turn the emitted signals into individual result records. As Orling puts it in the 2018 presentation, “Once the test run has begun, LAVA is just observing.” Treat that as a description of the approach shown in the talk, not a guarantee about every current LAVA release.

The practical work is therefore usually an adapter: capture the framework’s case names and outcomes, map them to the result vocabulary used by the integration, and print the expected signals where LAVA can read them. Test definitions specify how the run is set up and launched; they do not eliminate the need for the runner to provide recognizable output.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Veken 47.2 Inch Large Electric Standing Desk, Gaming Table, Black
  • Electric Height Adjustment – Sit or Stand Any Time: Quiet motor (under 52 dB) with memory presets. Easily switch between sitting and standing from 28.3" to 46.5" to help reduce sedentary time
  • Sturdy & Stable – Stays Solid at Full Height: Strong steel frame remains stable even when fully extended. Performance may vary slightly by floor type and load weight, but reliable for daily work, gaming, or study
  • Spacious Desktop with Cable Management: Large surface fits multiple monitors and gear. Built-in cable management keeps cords tidy for a clean, organized workspace
  • Quiet & Smooth Height Adjustment: Powerful motor enables seamless height changes and stable transitions, helping create a peaceful workspace that sparks creativity
  • Easy Assembly & Great Value: Clear instructions and straightforward setup in 10–30 minutes. Offers electric height adjustment, memory presets, and solid build quality(The desktop is composed of two boards)

What the presentation shows for each framework

Framework or runner Adapter shown What it means for test code
pytest A conftest.py reporting hook prints LAVA markers using pytest’s reporting information; a test definition invokes pytest. The example puts translation in the reporting layer. It maps passed, skipped, and xfailed outcomes to LAVA pass, and other outcomes to fail.
BATS A --lava option and formatter emit per-test signals and result records; a test definition invokes BATS with that option. The example adds an output mode to the runner rather than showing a universal feature built into BATS-core.
OpenEmbedded ptest Changes to the runner provide another route for emitting the signals. This is a runner-level integration example, not evidence that all ptest runners already emit LAVA-compatible output.

All three are examples from the 2018 talk. They establish the adapter pattern, not that the snippets work unchanged with current versions of LAVA, pytest, BATS, or OpenEmbedded ptest. Check the official documentation for the versions you use before copying or adapting the code.

Where should the adapter go?

Use the layer that can see both the test-case identity and its final outcome. The examples point to three possible locations:

Rank #2
AODK L Shaped Desk Gaming Desk with LED Light & Power Outlet
  • 【AODK Reversible L Shape Desk】This L shaped gaming desk comes with storage shelves, power outlet, light strip, CPU stand, headphone hook and storage bag. The L desk is reversible and the top hutch can be fixed on the left or right side according to your display needs, maximizing your limited space and ideal for corner spaces. A great choice for home office, game, office, studio and living room.
  • 【Power Outlets & Charging Ports】 AODK computer desk is equipped with 3 power outlets & 2 USB charging ports for your electronic device. You can easily and conveniently charge smart phone, gaming gear and Bluetooth devices when you are working or playing games. Power cord allows you to place this small computer desk wherever you need.
  • 【Gaming Desk with Colorful LED Lights】This gaming desk features LED strip that contains 10 static colors, 8 brightness grades, 10 dynamic modes and memory function with switching controls. Adjusting to the proper lighting can reduce eye strain, improve focus, and create a comfortable workspace or gaming space.
  • 【Ample Storage Space】Dimension: 18.9"D x 53"W x 29.8"H. The L-shaped desk provides 2 shelves, CPU stand, headphone hook and storage bag, which gives you super plenty of storage space to store your books, work files and small office stuffs, make your work and study more efficient. There are two installation method of this 2-tier upper storage rack. You can use it as a display shelf or a monitor stand.
  • 【Easy Assembly & After-sale Service】The study table comes with detailed instructions and all parts are clearly labeled for easy assembly, what you need to do is following instructions step-by-step. If your AODK desk arrives damaged, missing parts, or scratched, our professional customer support team will help you solve the problem within 24 hours.
  • Framework reporting hook: useful when a framework exposes per-test reports, as in the presentation’s pytest example.
  • Output formatter or runner option: useful when the runner can be taught to emit a LAVA-specific format, as in the BATS example.
  • Runner modification: an option when the runner itself controls how cases and results are printed, as in the ptest example.

Keep the test logic separate when possible. The adapter should preserve each case’s name and translate its outcome consistently; otherwise, LAVA may receive output without useful per-test records.

What belongs in a LAVA test definition?

The presentation’s sample “Lava-Test Test Definition 1.0” YAML includes metadata, functional scope, device labels, and run steps. Its examples use x86 and QEMU labels. These show the kinds of context a definition can describe, but they do not establish a current hardware compatibility list or validate a particular device model.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sweetcrispy 47" Computer Desk with 6 Fabric Drawers & Storage Shelves
  • Spacious Storage & Organization: This writing desk features 6 fabric drawers and two storage shelves, offering ample space. Perfect for organizing office supplies, gaming gear, it helps you maintain a clean and efficient workspace
  • Adjustable & Removable Shelf: Customize your storage shelf to fit your needs. The middle shelf on the storage unit can be adjusted to different heights. This flexibility easily accommodates tall items like CPU towers or books
  • Robust & Steady: Engineered for stability and durability. The sturdy metal frame is reinforced with triangular brackets at the back, providing exceptional support. Combined with the high-quality desktop, it ensures a rock-solid surface for work
  • Versatile Multifunctional Workstation: More than a computer desk, it's a versatile hub for your home. Ideal as a gaming desk, study desk, or craft table, it seamlessly fits into your home office, bedroom, or living room, meeting all your needs
  • Easy Assembly: Get set up quickly and easily. With clearly numbered parts, step-by-step instructions, and all necessary tools included, you can assemble your new pc desk easily. Adjustable feet keep it stable on uneven floors

In practice, treat the definition and the output adapter as complementary pieces: the definition describes the test job’s context and commands, while the runner’s output communicates individual cases and outcomes. Verify the syntax and supported fields against documentation for the LAVA version you deploy.

Can you add measurements as well as pass/fail results?

The talk also demonstrates output containing a MEASUREMENT field and an optional UNITS field. The framework still has to format that output so LAVA can capture it. In the presentation’s pytest example, measurements are provided through a decorator and test functions return a measurement and units.

Rank #4
Sale
Huuger Computer Desk, 55 Inch Home Office Desk, Gaming Writing Work from Home Study Desk, Large Legroom, Sturdy Metal Frame, Modern Simple, Rustic Brown
  • 【Simple Desk】Enjoy a simple yet spacious work space with this sleek rustic-brown desk. Measuring 54''x19.7''x29.5'', it is the perfect solution for your study, kid's room, or home office. With a wide desktop, it accommodates your computer, calendar, lamp, and other essentials, leaving enough room to enjoy a cup of coffee
  • 【Versatile Desk】Whether you need a large office desk, a bedroom desk, a gaming setup, or a desk for your child's room, this versatile desk fits seamlessly into any space, serving multiple purposes with ease
  • 【Reinforced Structure】Crafted from durable particleboard and thick steel tubes, this work from home desk offers a stable and sturdy structure. Reinforcement struts beneath the tabletop provide additional stability, ensuring its longevity for working or gaming
  • 【Variety of Styles and Colors】Featuring a selection of 5 on-trend hues - sleek grey, black, warm rustic brown, a unique blend of rustic brown and black for a distinctive look, and white - along with multiple sizes, this home desk is designed to effortlessly match any home decor theme and enhance a wide range of design aesthetics
  • 【Easy Assembly】Say goodbye to complicated setups. This PC desk has a simple structure, visually demonstrative instruction and provided tools, and it will be finished in less than 40 minutes

That measurement method requires changing test cases. The talk explicitly notes that this “somewhat breaks the original intent (keep the tests unmodified for LAVA).” So distinguish ordinary outcome reporting from measurement instrumentation: the reporting-layer approach can leave test logic alone in the examples, but the demonstrated way to attach measurements does not.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How to adapt the approach safely

  1. Confirm your versions. Identify the LAVA release and test framework or runner version used in your environment. The 2018 examples do not verify current APIs.
  2. Choose the reporting layer. Find the hook, formatter, or runner code that can access a completed test’s name and outcome.
  3. Define the outcome mapping. Decide how framework states such as pass, failure, skip, or expected failure should translate into the result labels your LAVA setup expects. The pytest mapping in the talk is an example, not a universal policy.
  4. Emit one complete record per case. Preserve a stable test-case ID and print the start, end, and result signals shown in the presentation’s pattern.
  5. Run through the test definition. Ensure its run steps invoke the adapted runner and that its metadata and device context match the job you intend to execute.
  6. Validate captured results. Confirm that LAVA records separate cases with the intended names and outcomes before relying on the integration in a larger test job.

The source for the historical examples is Tim Orling’s 2018 presentation, dated October 23, 2018, and identifying Orling with Intel Open Source Technology Center. It is useful for understanding the integration pattern, but current version-specific behavior is not established by that presentation.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Sale
Veken 55 Inch Large Electric Standing Desk, Gaming Table, White
  • Electric Height Adjustment – Sit or Stand Any Time: Quiet motor (under 52 dB) with memory presets. Easily switch between sitting and standing from 28.3" to 46.5" to help reduce sedentary time
  • Sturdy & Stable – Stays Solid at Full Height: Strong steel frame remains stable even when fully extended. Performance may vary slightly by floor type and load weight, but reliable for daily work, gaming, or study
  • Spacious 55" Desktop with Cable Management: Large 55-inch surface fits multiple monitors and gear. Built-in cable management keeps cords tidy for a clean, organized workspace
  • Quiet & Smooth Height Adjustment: Powerful motor enables seamless height changes and stable transitions, helping create a peaceful workspace that sparks creativity
  • Easy Assembly & Great Value: Clear instructions and straightforward setup in 10–30 minutes. Offers electric height adjustment, memory presets, and solid build quality(The desktop is composed of two boards)

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.