Exception: Frank::Cucumber::FrankNetworkError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Frank::Cucumber::FrankNetworkError
- Defined in:
- lib/frank-cucumber/gateway.rb
Constant Summary collapse
- OVERLY_VERBOSE_YET_HELPFUL_ERROR_MESSAGE =
" \n\n*********************************************\nOh dear. Your app fell over and can't get up.\n*********************************************\n\n\nWe just encountered an error while trying to talk to the Frank server embedded \nwithin the app under test. This usually means that the app has just crashed, \neither while carrying out the current step or while finishing up the previous \nstep.\n\nHere are some things you could do next:\n\n- Take a look at the app's logs to see why it crashed. You can view the logs \n in Console.app (a search for 'Frankified' will usually find your frankified \n app's output).\n\n- Launch your frankified app in the XCode debugger and then run this scenario \n again. You'll get lots of helpful output from XCode. Don't forget to do \n something to prevent cucumber from automatically re-launching your app when \n you run the scenario by hand. If you don't prevent the relaunch then you \n won't still be in the XCode debugger when the crash happens.\n\n \n\n"
Instance Method Summary collapse
-
#initialize ⇒ FrankNetworkError
constructor
A new instance of FrankNetworkError.
Constructor Details
#initialize ⇒ FrankNetworkError
Returns a new instance of FrankNetworkError.
130 131 132 |
# File 'lib/frank-cucumber/gateway.rb', line 130 def initialize super OVERLY_VERBOSE_YET_HELPFUL_ERROR_MESSAGE end |