** Settings *** Library Telnet Library HttpLibrary.HTTP Library Process Library OperatingSystem Resource Server_lib.txt Suite Setup Initialize Emergent ./chapter_2/neuron.proj Suite Teardown Shutdown Emergent *** Variables *** # use 'pybot -v debug:true server.txt' on the command line to # output the transmissions to/from Emergent using warnings ${debug} = false *** Test Cases *** # Ideas on things to test # - SetDataTableCell and Matrix Cell # # Initialization and general tests # Initialize Set Suite Variable ${verbose} ${false} Set Suite Variable ${project} ./chapter_2/neuron.proj Run Keyword If '${debug}' == 'true' Set Suite Variable ${verbose} ${true} Connection Sleep 1 sec ${output} = Read Print ${output} Should Contain ${output} Emergent Server v8. # TODO: Start another process and check for the "Too many connections already" error. # # ParserTest # General RunState ${output} = Run Command Wait {"command": "GetRunState"} Status OK Match Result ${output} 4 Unit net act Run Emergent Program LeabraSettle DataTable Cell Value Should Roughly Equal .projects[\\\"neuron\\\"].data.gp[\\\"OutputData\\\"][\\\"CycleOutputData\\\"] 159 act_eq 0.625 0.01 Act_eq at cycle 159 *** Keywords ***