Skip to content

Finalize the first working implementation of the testing framework (100%)

Tutul requested to merge prototype into main

crux-macro:

  • Implement support for basic Ignore/Should_panic
  • Add skeleton code for further improvement using proper attributes

crux-runner:

  • Add support for printing any "normal" output when a panic occure (showing status of the running test, printing summary, etc.)
  • Properly marking every tests remaining as skipped during a panic
  • Try to improve optimization using likely/unlikely intrinsec for panic
  • Diminue the unsafe overall interface size by using smaller block
  • Fix the bad skipped display within the summary
  • Add some sanity check just to avoid unwrap without testing
  • If the code still find itself in an unexpected environment it will call for a hard crash

known issue:

  • reason aren't displayed for FAIL/ABORT test (Option is none)

Merge request reports