@balena/testbot v1.2.0-vipul-requirement-bb8e307c1c6464b25fdd079e58d0fd9bd96a0434
testbot
The testbot is a device used to aid in the automation of hardware testing. It connects to a balena fin through a HAT interface, and provides a mechanism to remotely provision, power, and run a test suite against a device under test (DUT).
The current revision of the testbot comprises 3 boards:
- testbot hat main board
- SD card multiplexer board
- Power supply unit board
The testbot allows for the automation of hardware testing. It can provision a DUT with an OS and run custom test suites. This is beneficial in a range of scenarios:
It can be integrated into continuous integration (CI) pipelines for embedded OS developement. Once the testbot has been initially connected to the DUT, any new revision of an OS can be flashed to the DUT and run through the test suites automatically. This drastically cuts down the time from requesting a test to the test being run, which can usually involve manual communication and setup.
It can be used as a way to automatically test newly manufacured hardware. The DUT needs only to be connected to the testbot, which then can flash the new device and verify key functionality.
In this repo, you can find the documentation, source, and design files for the testbot project.
Directory structure
├ README.md # This file
├ documentation
│ ├ hardware
│ │ ├ images # Images used in documentation
│ │ ├ rig-assemble.md # Instructions for assembling a testbot worker
│ │ ├ coprocessor_pinout.md # Mapping between coprocessor header and pin names
│ │ ├ README.md
│ └ firmware
├ firmware
│ ├ adjustable_voltage_regulator # source code for the SAMD21 chip
│ └ main_tester_board # source code for the Teensy
├ hardware # design files including 3d, BoM, gerber, and schematics
│ ├ adjustable_voltage_regulator
│ ├ main_tester_board
│ └ sd_adapterTesting testbot
Once you have the device assembled and provisioned, add it to testbot-e2e-test app on balenaCloud - 2 services
will be installed on the device:
test-scenariowill run a simple e2e test verifying your testbot is cable of flashing an SD cardreplcan be used to access JS REPL console withtestbotinitialized to call commands liketestbot.flash('/path')ortestbot.digitalWrite(pin, value)in the interactive mode.
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago