unit tests: ztest framework intro#517
Draft
tmleman wants to merge 2 commits intothesofproject:masterfrom
Draft
Conversation
Prepare documentation for the ongoing migration from CMocka to Zephyr's native ztest framework for SOF unit tests. Changes: - Create new unit_tests_ztest.rst placeholder for upcoming ztest documentation - Add deprecation notice to unit_tests.rst indicating CMocka is legacy - Add informational note to xtrun/index.rst about the testing framework transition - Update developer_guides/index.rst to include new ztest documentation entry The CMocka-based tests are being phased out as part of the migration to ztest. This commit adds notices to inform developers that new tests should use ztest, while existing CMocka documentation remains available during the transition period. The new ztest documentation page is positioned before the legacy CMocka documentation in the index for better discoverability. Related: thesofproject/sof#10110 Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
…ructions Add initial documentation for SOF's new ztest-based unit testing framework. This provides developers with essential information to get started with ztest while the migration from CMocka is ongoing. Content includes: - Overview of ztest migration and current status - Prerequisites and required tools - Step-by-step workspace setup with west - Instructions for building and running tests with Twister - Placeholders for future sections (writing tests, architecture, notes) Related: thesofproject/sof#10110 Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
lgirdwood
approved these changes
Dec 4, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.