4998

Integrated Unit Testing

Integrated Unit Testing in Mathematica 10

With the new built-in testing framework in Mathematica Version 10, you can easily write and run tests for your code to ensure that your functions operate as intended. Whether you are writing a single function or an entire application, the symbolic character of the Wolfram Language lets you immediately run tests for even the smallest program snippets and see the results - at any stage of the development cycle.

  • Easily lay out individual tests.
  • Add options to tests to restrict the time and/or memory used.
  • Run an entire notebook of tests.
  • Generate a summary of all test results showing the number of tests characterized as successes, failures, message failures, and errors.
  • Automatically get the detailed results for each test.
  • Visually see the result of running each test via color-coded results cells.
  • Produce a graphical display of the test results for the entire notebook via a summary bar with color-coded tabs ordered by status or by sequence.
  • Add test IDs to all tests via a button click.

Create and Run Tests in a Notebook Interface »

Run One-Off Tests »

Create Testing Notebooks Automatically »

Automatically Identify and Fix Defective Tests »