[Lldb-commits] [lldb] [lldb][docs] Document how to test specific layers (PR #205581)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 24 09:54:55 PDT 2026
================
@@ -403,6 +403,70 @@ The 'child_send1.txt' file gets generated during the test run, so it makes sense
TestSTTYBeforeAndAfter.py file to do the cleanup instead of artificially adding it as part of the default cleanup action which serves to
cleanup those intermediate and a.out files.
+## How To Test Specific Things
+
+Below is a breakdown of the layers in an lldb session, with hints for the type of
+tests you can use to test these steps in isolation.
+
+If isolation is not possible, the fallback is always a Shell or API test that
+works at a higher level. For these, try to be sure that the behaviour you are
+checking for is not going to be generated by code other than the code in question,
+now, or in the future.
+
+### Interactive user interface elements
----------------
JDevlieghere wrote:
```suggestion
### Interactive User Interface Elements
```
(I use https://capitalizemytitle.com)
https://github.com/llvm/llvm-project/pull/205581
More information about the lldb-commits
mailing list