#6 The Ultimate Guide to Embedded System-Level Testing with Behave (Yasboot #3)
HTML-код
- Опубликовано: 5 дек 2024
- In this video, you'll learn how to add system-level testing to your embedded project using popular testing tools like Behave, Pexpect, CMake, and Kconfig. I'll walk you through the process step-by-step, based on my own project Yasboot. With these powerful tools, you'll be able to test your project in a realistic environment and catch bugs before they make it into production.
Behave is a Python-based testing framework that allows you to write tests in plain English. It's easy to read and understand, making it perfect for non-technical stakeholders to follow along with the testing process. Pexpect is a Python module that lets you control interactive programs in a Unix-like environment, so you can test your project as if it were running in the real world. CMake is a popular build system used to manage the build process of your project, while Kconfig is a configuration system that lets you define and manage configuration options in your embedded project.
By the end of this video, you'll have a solid understanding of how to add system-level testing to your embedded project using these powerful tools. And don't forget to give this video a like if you found it helpful!
0:00: Intro
1:18: Add Behave Framework & Test
2:50: Adding Pexpect
5:15: CMake integration
6:50: Adding default KConfig for tests
8:35: Ending
Links to others materials:
Cat meme: imgur.com/a/sZLJB
Fixing bug GIF: giphy.com/gifs...
Green bug: en.wikipedia.o...
I liked the topic you picked for this episode, very insightful
It’s great to hear that someone likes the topic! I’m almost finished setting up the framework for my Yasboot project. Once that’s done, I’ll start writing the actual implementation. Of course, I’ll also extend the framework as needed.