tests: Bluetooth: Add example bsim test

This test is intended to teach the conventions and best practices to a
potential contributor that wants to add a test, for say a new feature.

It is liberally commented on purpose, so new contributors don't have to
spend two weeks understanding the intricacies of the simulator, the bsim
test framework, the native builds, backchannels, etc..

Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
This commit is contained in:
Jonathan Rico 2024-04-03 14:37:35 +02:00 committed by Anas Nashif
commit f818cbd8cc
12 changed files with 715 additions and 0 deletions

View file

@ -132,6 +132,12 @@ and then directly run one of the tests:
Conventions
===========
Test code
---------
See the :zephyr_file:`Bluetooth sample test <tests/bsim/bluetooth/host/misc/sample_test/README.rst>` for conventions that apply to test
code.
Build scripts
-------------