support more items inside #[defmt_test::tests]
#627
Labels
difficulty: medium
Somewhat difficult to solve
status: needs PR
Issue just needs a Pull Request implementing the changes
type: enhancement
Enhancement or feature request
currently, the
#[tests]
module can only contain function items that have one of these attributes:#[test]
on#[init]
.instead, we should support any kind of item that a normal module can contain: non-unit-test (e.g. helper) functions, structs, etc.
implementation wise, items that are not unit tests or the
#[init]
function should not be touched by the proc-macro and emitted as they appear in the inputThe text was updated successfully, but these errors were encountered: