carolmirakove / appium-native-rspec-example

11 stars 3 forks source link

Not able to run test cases - error in ....`load_appium_txt': toml doesn't exist... #2

Open vikramvi opened 9 years ago

vikramvi commented 9 years ago

Hi carolmirakove,

I tried running catalog_spec.rb and got below errors

/Users/vikramingleshwar/.rvm/rubies/ruby-2.1.1/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/vikramingleshwar/.rvm/gems/ruby-2.1.1/bin/rspec /Users/vikramingleshwar/Documents/workspace/iOS/appium-native-rspec-example/ios/spec/catalog_spec.rb --require teamcity/spec/runner/formatter/teamcity/formatter --format Spec::Runner::Formatter::TeamcityFormatter Testing started at 11:23 ... /Users/vikramingleshwar/.rvm/gems/ruby-2.1.1/gems/appium_lib-4.1.0/lib/appium_lib/driver.rb:87:in load_appium_txt': toml doesn't exist /Users/vikramingleshwar/Documents/workspace/iOS/appium-native-rspec-example/appium.txt (RuntimeError) from /Users/vikramingleshwar/Documents/workspace/iOS/appium-native-rspec-example/ios/spec/helper_spec.rb:6:in<top (required)>' from /Users/vikramingleshwar/Documents/workspace/iOS/appium-native-rspec-example/ios/spec/catalog_spec.rb:1:in require_relative' from /Users/vikramingleshwar/Documents/workspace/iOS/appium-native-rspec-example/ios/spec/catalog_spec.rb:1:in<top (required)>' from /Users/vikramingleshwar/.rvm/gems/ruby-2.1.1/gems/rspec-core-3.0.3/lib/rspec/core/configuration.rb:1057:in load' from /Users/vikramingleshwar/.rvm/gems/ruby-2.1.1/gems/rspec-core-3.0.3/lib/rspec/core/configuration.rb:1057:inblock in load_spec_files' from /Users/vikramingleshwar/.rvm/gems/ruby-2.1.1/gems/rspec-core-3.0.3/lib/rspec/core/configuration.rb:1057:in each' from /Users/vikramingleshwar/.rvm/gems/ruby-2.1.1/gems/rspec-core-3.0.3/lib/rspec/core/configuration.rb:1057:inload_spec_files' from /Users/vikramingleshwar/.rvm/gems/ruby-2.1.1/gems/rspec-core-3.0.3/lib/rspec/core/runner.rb:97:in setup' from /Users/vikramingleshwar/.rvm/gems/ruby-2.1.1/gems/rspec-core-3.0.3/lib/rspec/core/runner.rb:85:inrun' from /Users/vikramingleshwar/.rvm/gems/ruby-2.1.1/gems/rspec-core-3.0.3/lib/rspec/core/runner.rb:70:in run' from /Users/vikramingleshwar/.rvm/gems/ruby-2.1.1/gems/rspec-core-3.0.3/lib/rspec/core/runner.rb:38:ininvoke' from /Users/vikramingleshwar/.rvm/gems/ruby-2.1.1/gems/rspec-core-3.0.3/exe/rspec:4:in <top (required)>' from /Users/vikramingleshwar/.rvm/gems/ruby-2.1.1/bin/rspec:23:inload' from /Users/vikramingleshwar/.rvm/gems/ruby-2.1.1/bin/rspec:23:in <top (required)>' from -e:1:inload' from -e:1:in `

'

Process finished with exit code 1 Empty test suite.


Please let me know what am I doing wrong here.

Also do you have sample android + ruby project , which I can try out along with this iOS project.

Thanks in advance.

Best Regards, Vikram

reach2jeyan commented 6 years ago

@vikramvi Any solutions to this?

gunesmes commented 5 years ago

Updating the tomlrb fixed it for me:

gem install tomlrb