Wolfram Research

Function Repository Resource:

WLTToNotebook (1.0.0) current version: 1.0.1 »

Source Notebook

Convert a Wolfram Language test file to a testing notebook

Contributed by: Sjoerd Smit and Jon McLoone

ResourceFunction["WLTToNotebook"]["file.wlt"]

converts the Wolfram Language tests in the specified test file to a testing notebook.

Details

Wolfram Language test files should have the extension .wlt or .mt.
ResourceFunction["WLTToNotebook"] is the inverse operation of the using the More/Save As .wlt button in testing notebooks:
Empty testing notebooks can be created using CreateNotebook["Testing"] or from the menu File New Programmatic Notebook Testing Notebook.
Testing notebooks and .wlt files are documented in this tutorial.

Examples

Basic Examples (1) 

Convert a test file to a notebook:

In[1]:=
ResourceFunction["WLTToNotebook"][FindFile["ExampleData/example.wlt"]]
Out[1]=

Publisher

Sjoerd Smit

Version History

  • 1.0.1 – 03 February 2023
  • 1.0.0 – 21 September 2021

Related Resources

License Information