Sha256: e6961c95fb423c014f845ef158f145d586530b449a213006cde0c2e25c1ef58c
Contents?: true
Size: 947 Bytes
Versions: 8
Compression:
Stored size: 947 Bytes
Contents
!2 Trying to connect to a socket where no slim server is running should fail quickly. To test this we run in debug mode and request to start the slim server ourselfs. But we never start one :) Use the property slim.timeout to define how long the test system should wait for the slim client. The default is 10 seconds. In this test we set it to 1 second. Required Improvement: also the timeout is set to 1 second the detection takes 20 seconds :( !| script | | create page | TestPage | with content | !- !define TEST_SYSTEM {SLIM} !define slim.timeout {1} !define MANUALLY_START_TEST_RUNNER_ON_DEBUG (true) -! | | check | request page | TestPage?test&remote_debug | 200 | | ensure | content contains | TEST_SYSTEM=SLIM| | #show | content | | check | request page | TestPage?executionLog| 200 | |ensure |content contains |Error connecting to SLiM server on localhost:| |ensure | content matches | Time elapsed:.* seconds | |# show | content |
Version data entries
8 entries across 8 versions & 1 rubygems