syntax-prosody-ot / main

A webapp for the syntax-prosody analyst working in Optimality Theory, with automated Gen, Con and Eval. Download build files from syntax-prosody-ot/build
https://spot.sites.ucsc.edu/
GNU General Public License v2.0
12 stars 2 forks source link

Automated tests for string generation input validation #537

Closed jbellik closed 3 years ago

jbellik commented 3 years ago

Desired behavior, which I think has been achieved:

When the user clicks "Generate trees":

When the user clicks "Generate terminal strings" (which entails that the "Generate combinations and permutations" section is open):

This behavior is fairly complicated so it would be good to automate some tests for it.

jbellik commented 3 years ago

Refer to https://github.com/syntax-prosody-ot/main/pull/474 for the other existing example of Mocha tests with interface1.html. You may also be able to come up with a better way of handling interface testing, though. Feel free to try something different.