<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opensbi.git/docs/writing_tests.md, branch v1.5</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/opensbi.git/atom/docs/writing_tests.md?h=v1.5</id>
<link rel='self' href='http://cgit.235523.xyz/opensbi.git/atom/docs/writing_tests.md?h=v1.5'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/'/>
<updated>2024-03-20T05:32:58Z</updated>
<entry>
<title>docs: writing_tests: Make docs correspond the latest changes</title>
<updated>2024-03-20T05:32:58Z</updated>
<author>
<name>Ivan Orlov</name>
<email>ivan.orlov0322@gmail.com</email>
</author>
<published>2024-03-19T16:02:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=3b2f89e3d64571ad7af17f036b5ed98a0aee105e'/>
<id>urn:sha1:3b2f89e3d64571ad7af17f036b5ed98a0aee105e</id>
<content type='text'>
We should store test object files list in the `libsbi-objs-y` Makefile
variable, not in `libsbitests-objs-y`. Update the documentation
correspondingly.

Since we don't use the `console_dev` static variable directly in the
`sbi_console_test` unit test anymore, remove the paragraph which says
that we do.

Fixes: 86224ec36aed ("docs/writing_tests: Update tests paths")
Signed-off-by: Ivan Orlov &lt;ivan.orlov0322@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>docs/writing_tests: Update tests paths</title>
<updated>2024-03-19T05:50:49Z</updated>
<author>
<name>Ivan Orlov</name>
<email>ivan.orlov0322@gmail.com</email>
</author>
<published>2024-03-13T15:01:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=86224ec36aed6bb1b991bba31ab793475c8eac76'/>
<id>urn:sha1:86224ec36aed6bb1b991bba31ab793475c8eac76</id>
<content type='text'>
Since the tests should be moved to the lib/sbi/tests directory, the
documentation should be updated correspondingly. So, update the paths
where they have to be changed.

Signed-off-by: Ivan Orlov &lt;ivan.orlov0322@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>docs: Add documentation about tests and SBIUnit</title>
<updated>2024-03-10T04:28:57Z</updated>
<author>
<name>Ivan Orlov</name>
<email>ivan.orlov0322@gmail.com</email>
</author>
<published>2024-03-04T21:45:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=b9e4de0641a0b4e4ed9cb0439d3b7b66fe6ef75f'/>
<id>urn:sha1:b9e4de0641a0b4e4ed9cb0439d3b7b66fe6ef75f</id>
<content type='text'>
This patch contains the documentation for SBIUnit. It describes:

- What is SBIUnit
- Simple test writing scenario
- How we can cover static functions
- How we can "mock" structures in order to test the functions which
operate on them
- SBIUnit API Reference

Signed-off-by: Ivan Orlov &lt;ivan.orlov0322@gmail.com&gt;
Reviewed-by: Andrew Jones &lt;ajones@ventanamicro.com&gt;
</content>
</entry>
</feed>
