tests:
base:
- camera:
device: /dev/video0
save_file: frame.raw
- network:
interface: eth0
Reusable platform tests
Choose the checks your board needs and reuse the same YAML suite across hardware revisions.
An open source Python framework for automated hardware and Linux BSP verification. Define reusable test suites, run them on your devices and keep the evidence with the results.
test-suites: bringup: tests: [base] tests: base: - i2c: dev: name: "I2C 0" driver: I2C_SMBus bus: 0 devices: - name: Sensor address: 0x3c - gpio: dev: name: "GPIO" driver: GPIO_sysfs pins: - pin: 20 direction: out state: on - gpio: dev: name: "Status LED" driver: GPIO_sysfs pins: - pin: 21 direction: out state: on - camera: device: /dev/video0 save_file: frame.rawPlatform changes cross the hardware/software boundary. Protoplaster gives engineers a common way to check interfaces, exercise devices and exchange reproducible results.
tests:
base:
- camera:
device: /dev/video0
save_file: frame.raw
- network:
interface: eth0
Choose the checks your board needs and reuse the same YAML suite across hardware revisions.
POST Start test suiteStart tests through the REST API or WebUI. Track each run by ID, inspect its status and manage YAML configurations.
frame.rawtest.logPreserve generated files, command output and system metadata with each run. Camera frames and logs help teams investigate what happened on the physical device.
THOR-014 Queued THOR-015 Queued THOR-016 Queued Record results against each board’s serial number and hold units that need inspection before shipment.
Build from versioned sources and run hardware checks as parallel CI jobs across boards and fixtures. Collect results, logs and captured files separately for each target.
build:bsp-image Runningtest:board-rev-a Pendingtest:board-rev-b Pendingtest:ict-fixture Pendingpublish:reports Pendingresults.xmlrun.logframe.rawReach other machines in the test setup, add your own test modules and hook custom code into every run.
Register fixtures and lab machines running Protoplaster, then call their functions from a central node.
@ModuleName("additional_camera")
class TestAdditionalCamera:
def name(self):
return self.path
def test_exists(self):
assert self.path == "/dev/video0"Add your own Python test modules outside the repository and configure them in the same YAML suites.
class ProtoplasterPlugin:
@hookimpl
def before_test_function(
self, test_instance, test_function
):
self.start = time()
@hookimpl
def after_test_function(
self, test_instance, test_function
):
print(time() - self.start)Write plugins whose hooks run your own code before test setup and around each test function.
Run JTAG-driven eyescans on DAC3xJ8x devices, generate eye diagrams and verify eye width and height against configured limits. Raw TSV data and an HTML visualization stay with the measurement.
Generate a device snapshot with protoplaster-system-report. A ZIP archive bundles command output and logs with an HTML summary, giving distributed teams the same context when investigating a failure.
protoplaster-system-reportAntmicro develops hardware test systems for prototype bring-up, CI and manufacturing. We use Protoplaster to connect your boards, lab equipment and production fixtures.
Developing test suites for your boards and Linux BSPs, from power-up and peripheral checks to regression testing across hardware and software revisions.
Developing factory test suites with Protoplaster, covering power-up and peripheral checks on every unit and pass/fail results tied to each device.
Integrating test devices, instruments and lab machines into your CI pipelines and automating parallel test runs across boards and configurations.
Developing custom Protoplaster modules and API and WebUI integrations that link measurements, logs and captured files to individual devices and test runs.
We can help develop board-specific tests, automated fixtures, BSP integration and reporting around Protoplaster.