Testing Custom Exports

114 views
Skip to first unread message

tyleo...@gmail.com

unread,
Apr 14, 2021, 6:57:46 AM4/14/21
to oTree help & discussion
Is it possible to get data generated by bots in tests exported custom export (in oTree 3.x)? 

I'd like to test my custom export for all the cases defined in my tests, as well as having a large amount of test data to test my proposed analysis but the --export option only generates the standard otree data output, and the otree test runner doesn't seem to support the django --keepdb command line switch.

If this is not possible at the moment, is it a feature that might be considered for future releases?

Chris @ oTree

unread,
Apr 15, 2021, 10:44:20 AM4/15/21
to tyleo...@gmail.com, oTree help & discussion
Generating custom export is not supported but I will consider it for a future release. 

Sent from my phone

On Apr 14, 2021, at 6:57 PM, tyleo...@gmail.com <tyleo...@gmail.com> wrote:

Is it possible to get data generated by bots in tests exported custom export (in oTree 3.x)? 

I'd like to test my custom export for all the cases defined in my tests, as well as having a large amount of test data to test my proposed analysis but the --export option only generates the standard otree data output, and the otree test runner doesn't seem to support the django --keepdb command line switch.

If this is not possible at the moment, is it a feature that might be considered for future releases?

--
You received this message because you are subscribed to the Google Groups "oTree help & discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otree+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/otree/e8c3c772-5803-4072-9e15-4a0d9b7a6107n%40googlegroups.com.

tyleo...@gmail.com

unread,
Apr 15, 2021, 10:54:50 AM4/15/21
to oTree help & discussion
Thanks for getting back to me.   I've found where I needed to tweak otree-core to get it to output the custom export with bot data.  Happy to open a PR if you are interested.  

Ty

Reply all
Reply to author
Forward
0 new messages