Functions

Add the #[test] attribute to the test if needed.

Parse the body of the settings closure.

Find and take the TestingTools argument from the arguments of the test function, leaving any others in place by storing in toplevel_args.

Attribute Macros

Wrap a test case in setup and tear down boiler plate, including manipulating settings if needed.