Giter Club home page Giter Club logo

field-service-example's Introduction

master develop versioning license contributing
Build Status Build Status GitHub version License Contributing

Calabash

Automated Acceptance Testing for Mobile Apps.

Rake

TODO Release instructions for Android and iOS.

$ rake -T
rake android:build     # Build the Android test server
rake build             # Build calabash-1.9.9.pre2.gem into the pkg directory
rake ctags             # Generate ctags in ./git/tags
rake install           # Build and install calabash-1.9.9.pre2.gem into system gems
rake release           # Create tag v1.9.9.pre2 and build and push calabash-1.9.9.pre2.gem to Rubygems
rake spec              # Run RSpec code examples
rake unit              # Run RSpec code examples
rake yard              # Generate YARD Documentation
rake yard:publish      # Generate and publish docs

Testing

rspec

$ be rake unit # All unit tests.
$ be guard     # Run unit tests as you develop.

Integration tests

$ rake integration:page-object-model  # Run POM tests
$ rake integration:ruby               # Run tests ensuing correct Ruby interfacing
$ rake integration:cli                # Run command line interface tests

field-service-example's People

Contributors

clancey avatar conceptdev avatar dvdsgl avatar ilyabausovakvelon avatar jonathanpeppers avatar krukow avatar mattbitner avatar praeclarum avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

field-service-example's Issues

Not able to run Calabash test with Xamrin Project

I resigned the apk file which was found in the project

Ran the below command to execute the tests
calabash-android run FieldService.Android/FieldService.Android.apk -p android features/login.feature

Got the below problem

Scenario: Login with valid user # features\login.feature:3
Initial app and test-server install2540 KB/s (3965110 bytes in 1.524s)
260 KB/s (528784 bytes in 1.983s)
App did not start (RuntimeError)
C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.6/lib/calabash-androi
d/operations.rb:390:in block in start_test_server_in_background' C:/Ruby193/lib/ruby/gems/1.9.1/gems/retriable-1.3.3/lib/retriable/retriable.rb :31:inperform'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/retriable-1.3.3/lib/retriable/retriable.rb
:50:in `retriable'

When i manually open the apk on device after the resign , it doesnt launch rather just a blank screen is seen

For details please refer the link

https://groups.google.com/forum/?fromgroups#!topic/calabash-android/R8ZF763kIto

undefined method `require_relative' for main:Object (NoMethodError)

Pulled the source, made sure that clabash etc was all installed and basically followed the steps outlined, I only get the following output:

Waynes-MacBook:field-service-example wayne$ bundle exec calabash-android run FieldService.Android/FieldService.Android.apk -p android features/login.feature
undefined method require_relative' for main:Object (NoMethodError) /Users/wayne/Development/Git/field-service-example/features/support/entry_points.rb:1 /Library/Ruby/Gems/1.8/gems/cucumber-1.3.1/bin/../lib/cucumber/rb_support/rb_language.rb:122:inload'
/Library/Ruby/Gems/1.8/gems/cucumber-1.3.1/bin/../lib/cucumber/rb_support/rb_language.rb:122:in load_code_file' /Library/Ruby/Gems/1.8/gems/cucumber-1.3.1/bin/../lib/cucumber/runtime/support_code.rb:180:inload_file'
/Library/Ruby/Gems/1.8/gems/cucumber-1.3.1/bin/../lib/cucumber/runtime/support_code.rb:83:in load_files!' /Library/Ruby/Gems/1.8/gems/cucumber-1.3.1/bin/../lib/cucumber/runtime/support_code.rb:82:ineach'
/Library/Ruby/Gems/1.8/gems/cucumber-1.3.1/bin/../lib/cucumber/runtime/support_code.rb:82:in load_files!' /Library/Ruby/Gems/1.8/gems/cucumber-1.3.1/bin/../lib/cucumber/runtime.rb:183:inload_step_definitions'
/Library/Ruby/Gems/1.8/gems/cucumber-1.3.1/bin/../lib/cucumber/runtime.rb:42:in run!' /Library/Ruby/Gems/1.8/gems/cucumber-1.3.1/bin/../lib/cucumber/cli/main.rb:47:inexecute!'
/Library/Ruby/Gems/1.8/gems/cucumber-1.3.1/bin/cucumber:13
/usr/bin/cucumber:19:in `load'
/usr/bin/cucumber:19

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.