ALKiln Story Test Generator

2.3

Welcome to the ALKiln Story Table generator!

This tool is here to help you make a new test file for your docassemble ALKiln tests. Using the data from your interview, it will create a Story Table test you can download and put in your "Sources" folder.

If you want, you can read more about ALKiln in its documentation.

Follow the steps below to create a very simple test file. You can ignore advanced features if you want.

1

To prepare your data:

  1. Run your docassemble interview until you get to the page where you want to end your test.
  2. Copy the variables that are on that page. To do that:
    1. Tap on the </> symbol your interview's nav bar.
    2. Scroll down till you see the "Show variables and values" button.
    3. Tap that button. It will open a new page.
    4. Ignore how absolutely bonkers that page looks.
    5. Copy all of the text that appears on that page.
  3. Come back here and paste that text into the text area in step 2.
2

Choose one:


3

Customize the unique parts of the test file and of the test.
You must fill in the final question id.

Example: file_a_motion.yml
Example: download
Example: has_children.feature
Example: I have children
Example: I allow visitation
4

You can download this new test here and then upload it to your package's "Sources" folder or, instead, just copy the code and put it wherever you want.

Note: If you use index variables or generic objects, you will need to edit the generated code. This is a more advanced task. To learn more, read the Story Tables section of the documentation. Specifically pay attention to the trigger section.

or