# Kernel Testing — DragonOS dev 文档

备注

AI Translation Notice

This document was automatically translated by hunyuan-turbos-latest model, for reference only.

- Source document: kernel/ktest/index.rst

- Translation time: 2025-09-25 09:18:16

- Translation model: hunyuan-turbos-latest

Please report issues via Community Channel

# Kernel Testing

This chapter introduces how to test the kernel, including both manual and automated testing.

We need to conduct as comprehensive testing of the kernel as possible to better ensure its stability and reduce the debugging difficulty of other modules.

Setting up well-designed test cases helps us detect issues to the greatest extent, preventing us from being “ambushed” by deeply hidden bugs in existing modules when developing new ones.

Since it is difficult to debug using tools like GDB, manual testing in the kernel is more challenging than application testing.

For some modules, we can write code for unit testing and output exception information. Unfortunately, not all modules are suitable for unit testing. For example, common modules like memory management and process management cannot be unit tested.

- gVisor System Call Testing

Other Versions v: V0.3.0

Tags
  V0.1.0
  V0.1.1
  V0.1.10
  V0.1.2
  V0.1.3
  V0.1.4
  V0.1.5
  V0.1.6
  V0.1.7
  V0.1.8
  V0.1.9
  V0.2.0
  V0.3.0
  V0.4.0

Branches
  master