SJRK-134: Move storyFabricator.js code away from the unit testing framework

Metadata

Source
SJRK-134
Type
Task
Priority
Major
Status
Closed
Resolution
Won't Do
Assignee
Alan Harnum
Reporter
Gregor Moss
Created
2018-06-01T15:50:50.853-0400
Updated
2018-07-12T11:04:37.874-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Storytelling Tool Server

Description

tests/utils/storyFabricator.js is used to create random stories for development and testing purposes; it currently uses the unit testing framework to get access to some convenience functions, especially kettle.test.request.formData

We should move away from this and create a real factory-style method, rather than misusing the unit test framework.

Comments