byte-physics / igortest

Igor Pro Universal Testing Framework
https://docs.byte-physics.de/igor-unit-testing-framework/
BSD 3-Clause "New" or "Revised" License
7 stars 2 forks source link

assertion section #8

Open ukos-git opened 6 years ago

ukos-git commented 6 years ago

currently, the assertion function documentation is done in assertion.rst using the assertion group integration from doxygen documented code.

The example section introduces use-case scenarios of the utf and also of introduces different assertion types. See for example the introduction of variable comparison or the test of waves.

To further improve documentation, the assertions section should contain more code and the examples that are primarily used to introduce assertions should be moved to the assertions main page.

The assertion definitions should then be grouped according with their CHECK, WARN and REQUIRE methods in blocks like this.

...

t-b commented 6 years ago

We can also use doxygen groups for that. We use these in MIES for the background functions. The commands are @ingroup and @defgroup. And it is not that ugly, see https://alleninstitute.github.io/MIES/group/group___background_functions.html.

ukos-git commented 6 years ago

Groups would be the right way like in the test wave flags section for minorType and mayorType. Together with a decent explanation.