Here we have a copy of the KUnit documentation taken from upstream.
Where to get the code
This documentation is taken from torvalds’ master branch: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
Most KUnit upstream development is done against the ‘kunit’ branch of the linux kselftest repository: https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git/log/?h=kunit
Getting Started Guide
This documentation is also mirrored on kernel.org.