3 > Happy simulates complex network topologies. On a single Linux machine, Happy
4 > can create multiple nodes with network stacks that are independent from each
5 > other. Some nodes may be connected to simulated Thread networks, others may
6 > connect to simulated Wi-Fi, WAN (Internet), or cellular networks.
8 **You need to run happy tests on Linux platforms.**
13 [rootless Docker](https://docs.docker.com/engine/security/rootless/) if you
14 have concerns about `--privileged` option on docker run. In your
15 project-chip checkout path, run:
17 $ docker run --rm --privileged \
18 --entrypoint /bin/bash \
19 --sysctl "net.ipv6.conf.all.disable_ipv6=0 net.ipv4.conf.all.forwarding=1 net.ipv6.conf.all.forwarding=1" \
20 -it --mount type=bind,source=`pwd`,target=`pwd` \
21 connectedhomeip/chip-build:latest
23 Mount your checkout to the same path as your local path avoids errors during
28 $ sudo scripts/tests/happy_tests.sh install_packages
30 - Install happy framework
32 $ scripts/tests/happy_tests.sh bootstrap
36 $ scripts/build/gn_bootstrap.sh
37 $ scripts/build/gn_gen.sh --args="chip_enable_happy_tests=true"
38 $ scripts/build/gn_build.sh
42 $ RUN_HAPPY_TESTS=1 scripts/tests/gn_tests.sh
46 $ scripts/tests/happy_test_wrapper.py" --test-bin-dir "out/tests" {test script path}