Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for TestFlight methods in spaceship and fastlane_core #8962

Merged
merged 41 commits into from Apr 28, 2017

Commits on Apr 27, 2017

  1. [WIP] Add testing framework for spaceship

    Future of spaceship testing:
    
    * No fixtures: these are too brittle to maintain
    * Use sinatra app to construct client responses near the test site
    * More focus on each Unit isolation. Heavier use of mock objects
    
    This is a work in progress
    snatchev authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    6a20c87 View commit details
    Browse the repository at this point in the history
  2. add more test cases, attempt to reset routes after each spec

    snatchev authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    8695e8d View commit details
    Browse the repository at this point in the history
  3. Reset the routes after each spec.

    Also print some helpful info when returning a 404
    snatchev authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    1538465 View commit details
    Browse the repository at this point in the history
  4. add specs for Build collection methods

    snatchev authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    117d45c View commit details
    Browse the repository at this point in the history
  5. add passing collection spec

    snatchev authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    b1d1a7b View commit details
    Browse the repository at this point in the history
  6. update more specs

    snatchev authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    c1207ab View commit details
    Browse the repository at this point in the history
  7. TestFlight::Base.client is inheritable. Update more specs

    snatchev authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    b6b21cc View commit details
    Browse the repository at this point in the history
  8. add spec for build_trains

    snatchev authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    e7bc822 View commit details
    Browse the repository at this point in the history
  9. refactor and add Spaceship::TestFlight::Group specs

    snatchev authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    f7f1724 View commit details
    Browse the repository at this point in the history
  10. add comment

    snatchev authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    2cd8c79 View commit details
    Browse the repository at this point in the history
  11. use mock client instead of Sinatra app

    snatchev authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    cdea597 View commit details
    Browse the repository at this point in the history
  12. fix group_spec

    snatchev authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    c92d770 View commit details
    Browse the repository at this point in the history
  13. update build_trains to use mock_client

    snatchev authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    c3f1a4e View commit details
    Browse the repository at this point in the history
  14. add test_info spec

    snatchev authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    05c7c24 View commit details
    Browse the repository at this point in the history
  15. Capital I in TestInfo

    ohayon authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    37c36d1 View commit details
    Browse the repository at this point in the history
  16. rubocop fixes

    snatchev authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    d006f91 View commit details
    Browse the repository at this point in the history
  17. Add tests for groups and builds

    ohayon authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    67dac96 View commit details
    Browse the repository at this point in the history
  18. add test for testers api

    ohayon authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    2cb6c5b View commit details
    Browse the repository at this point in the history
  19. add tests for testinfo

    ohayon authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    0a70b6e View commit details
    Browse the repository at this point in the history
  20. Add a test for PR #9005

    ohayon authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    bc0bfcb View commit details
    Browse the repository at this point in the history
  21. add tests for all the build states

    ohayon authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    0c12ff5 View commit details
    Browse the repository at this point in the history
  22. Add tests for Spaceship::TestFlight::Tester

    Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    cfa4351 View commit details
    Browse the repository at this point in the history
  23. Get rid of unused :tester

    Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    d887ede View commit details
    Browse the repository at this point in the history
  24. get rid of unnecessary group let

    ohayon authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    998fcb6 View commit details
    Browse the repository at this point in the history
  25. WIP on build_watcher (unstable?)

    Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    a9d4d79 View commit details
    Browse the repository at this point in the history
  26. wip build_watcher

    ohayon authored and Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    37a5e8f View commit details
    Browse the repository at this point in the history
  27. A test on the build watcher works

    Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    ceda20f View commit details
    Browse the repository at this point in the history
  28. Cleanup on build_watcher tests

    Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    ac445cc View commit details
    Browse the repository at this point in the history
  29. More tests on build watcher

    Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    c6243f1 View commit details
    Browse the repository at this point in the history
  30. Finish build_watcher tests

    Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    7307225 View commit details
    Browse the repository at this point in the history
  31. Clean up rubocop stuff

    Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    557542a View commit details
    Browse the repository at this point in the history
  32. RuboCop cleanup

    Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    094cc8d View commit details
    Browse the repository at this point in the history
  33. Get rid of sleep time requirement

    Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    8691c9b View commit details
    Browse the repository at this point in the history
  34. Remove TODOs

    Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    42ced98 View commit details
    Browse the repository at this point in the history
  35. Get rid of other sleep time requirement

    Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    22881aa View commit details
    Browse the repository at this point in the history
  36. Change name of a double

    mpirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    0e4c03a View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    f02c62b View commit details
    Browse the repository at this point in the history
  38. Add docs for Spaceship::TestFlight tests

    Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    adc2f06 View commit details
    Browse the repository at this point in the history
  39. Merge branch 'snatchev/testing-framework-2' of github.com:fastlane/fa…

    …stlane into snatchev/testing-framework-2
    Mark Pirri committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    8096abf View commit details
    Browse the repository at this point in the history
  40. Update TestFlightTesting.md

    snatchev committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    47d143e View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2017

  1. PR feedback

    ohayon committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    4b42934 View commit details
    Browse the repository at this point in the history