simple_testing package

This is a package to simplify writing tests.

It contains tools to verify your code. For example, you can check whether exceptions and assertions are triggered where they should be. Probably they are simply absent, and they need to be added.

Here is a list of features that the package contains.

FunctionDescription
tryAssertionThe function allows you to check whether an assertion is triggered
tryExceptionThe function allows you to check whether an exception is triggered
tryAssOrExcThe function allows you to check whether an exception or assertion is triggered
tryAssertionsUsing this function, you can check the list of functions for triggering assertions
tryExceptionsUsing this function, you can check the list of functions for triggering exceptions
tryAssOrExcsUsing this function, you can check the list of functions for triggering assertions or exceptions

For a more detailed introduction to using the PACKet package, look and run the example

Libraries

simple_testing
simple_testing is a package to simplify writing tests