Skip to content

Added convenience method to create test data

Henrik Brosenne requested to merge convenience_test_data_method into master

I've created a convenience method inside util.factories that that can be used to construct a complete grady instance by passing a big dictionary to the method. At the moment one call to the method with some sample data is hardcoded but using the helper methods inside factories, it is possible to generate big instances with multiple user/submissions/feedback programatically. This should be especially helpful to test the layout and structure of the app under more 'real-life' circumstances.

Edited by Henrik Brosenne

Merge request reports

Loading