Skip to content
Commits on May 14, 2012
  1. Changing ellip to ...

    Brian Jones committed May 14, 2012
Commits on May 11, 2012
  1. Issue #28

    * Gemfile: added a commented out 'launchy'; used it when testing
    * spec/requests/plans_spec.rb: implementing some pending tests
    Brian Jones committed May 11, 2012
  2. Issue #59 implemented plan copy

    * app/controllers/plans_controller.rb (copy): new action to copy plan
    * app/models/plan.rb (deep_clone): new method to clone a plan
    * app/views/partials/_item_menu.html.erb: add Copy to plans
    * config/routes.rb: add 'copy' to plan member routes
    * spec/controllers/plans_controller_spec.rb: tests for copy
    * spec/models/plan_spec.rb: tests for deep_clone
    * spec/requests/plans_spec.rb: tests for copy
    Brian Jones committed May 11, 2012
  3. Issue #59

    * app/controllers/test_cases_controller.rb (index): sort by updated_at desc
    * spec/controllers/test_cases_controller_spec.rb: add tests for copy
    * spec/routing/test_cases_routing_spec.rb: add copy routing test
    Brian Jones committed May 11, 2012
  4. Issue #47

    * spec/routing/test_cases_routing_spec.rb: add routing test for #show
    Brian Jones committed May 11, 2012
  5. Issue #47

    * app/controllers/plans_controller.rb (open): supports /plans/1/open now
    in addition to /plans/open
    * app/controllers/suites_controller.rb (show): new method
    (edit): include test_cases so view doesn't execute the sql
    * app/controllers/test_cases_controller.rb (show): avoids calling
    'first' on the relation until after other filters are applied
    * app/views/partials/_item_menu.html.erb: removed Edit, added View,
    removes some custom Plan logic, add Open for closed plans
    * app/views/partials/_view_buttons.html.erb: new file
    * app/views/steps/create.js.erb: pass locals :disabled => false to
    render partial 'test_cases/step'
    * app/views/steps/destroy.js.erb: ditto
    * app/views/steps/update.js.erb: ditto
    * app/views/suites/_current_cases_item_menu.html.erb -> app/views/suites/_current_cases_edit_item_menu.html.erb
    * app/views/suites/_current_cases_view_item_menu.html.erb: new file
    * app/views/suites/_form.html.erb: supports a disabled mode for show
    action
    * app/views/suites/edit.html.erb: pass disabled => false to render
    partial 'form'
    * app/views/suites/new.html.erb: ditto
    * app/views/suites/show.html.erb: new file
    * app/views/suites/sort.js.erb: pass locals :disabled => false to render
    partial 'test_cases/test_case'
    * app/views/test_cases/_form.html.erb: supports a disabled mode for show
    action
    * app/views/test_cases/_step.html.erb: when disabled is true, omits the
    Edit/Destroy links
    * app/views/test_cases/_step_list.html.erb: when disabled is true, the
    Add Step button is disabled
    * app/views/test_cases/_view_tag_handler.erb: new file
    * app/views/test_cases/edit.html.erb: pass :disabled => false as locals
    to render partial 'form'
    * app/views/test_cases/new.html.erb: ditto
    * app/views/test_cases/show.html.erb: new file
    * app/views/test_cases/sort.js.erb: pass :disabled => false as local to
    render test_cases/step
    * config/locales/en.yml: add unassociate, viewing, close, open
    * config/routes.rb: add member post 'open' to plans, no longer except
    :show on suites, has all resources routes
    * spec/controllers/plans_controller_spec.rb: add tests for close, open
    * spec/controllers/suites_controller_spec.rb: add tests for show
    * spec/requests/suites_spec.rb: check for View instead of Edit, add
    tests for when viewing a suite (show action)
    * spec/requests/test_cases_spec.rb: check for View instead of Edit, add
    tests for when viewing a test case (show action)
    * spec/routing/plans_routing_spec.rb: add routing tests for close, open
    * spec/routing/suites_routing_spec.rb: add routing tests for show
    Brian Jones committed May 11, 2012
Commits on May 10, 2012
  1. Issue #57

    * app/assets/javascripts/application.js: adding some ojs for handling
    the need to copy some small piece of data easily that cannot be
    highlighted in the UI already
    * app/views/devise/registrations/edit.html.erb: updating the account
    settings page so it doesn't provide an incorrect url, adds a simple way
    of copying the api key so you don't have to type it out
    * config/routes.rb: make token_authentications a singleton for
    * spec/controllers/token_authentications_controller_spec.rb: new file
    * spec/helpers/application_helper_spec.rb: new file
    Brian Jones committed May 10, 2012
  2. Updating README

    Brian Jones committed May 10, 2012
  3. Releasing gem

    * README.rdoc: updated usage instructions
    * VERSION: deleted
    * jaribio_formatter.gemspec: updated
    Brian Jones committed May 10, 2012
  4. Issue #69

    * ../jaribio/Gemfile.lock: seems like the linux specific parts getting
    removed; ugh gemfiles
    * spec/lib/jaribio/rspec_formatter_spec.rb: implemented the pending test
    regarding output
    Brian Jones committed May 9, 2012
  5. Issue #69

    * lib/jaribio/execution.rb (record_results): moved to instance method
    for Record
    (create_execution): ditto
    * lib/jaribio/record.rb (output): added as attr so some instance methods
    can log
    (save): new method, does what record_results did, but for one record
    (create_execution): new method, creates the execution for this record
    * lib/jaribio/rspec_formatter.rb: places where exception logging was
    using stderr now just uses output stream instead
    (dump_summary): summary output is now TAP format
    (close): calls record.save for each result
    (record_result): sets output stream in each Record object for logging
    purposes; feels dirty but will do for now
    * spec/lib/jaribio/execution_spec.rb: removed record_results tests
    * spec/lib/jaribio/record_spec.rb: added specs for save
    * spec/lib/jaribio/rspec_formatter_spec.rb: fixed mock expectation
    * spec/spec_helper.rb: configured rspec formatter here (this
    configuration really only works for me, but that's ok)
    Brian Jones committed May 9, 2012
Commits on May 9, 2012
  1. Checking this in.

    Brian Jones committed Jan 20, 2012
Commits on May 4, 2012
  1. Issue #68

    * jaribio_formatter/lib/jaribio/execution.rb (create_execution): check
    to be sure the plan is open before trying to create execution
    Brian Jones committed May 4, 2012
  2. Issue #68

    * jaribio/app/controllers/test_cases_controller.rb (show): for json
    requests, the test case plans are also included in the json response
    * jaribio_formatter/lib/jaribio/execution.rb (record_results): properly
    checks whether the test case belongs to one of the specified plans
    before trying to make an execution; when plans are not specified
    will update every plan for the test case
    Brian Jones committed May 4, 2012
  3. Issue #68

    * jaribio/Gemfile: did a bundle update on ruby-debug and no longer seem
    to need to specify the linecache19 gem
    * jaribio/app/controllers/application_controller.rb (skip_csrf?):
    provide a real implementation
    * jaribio/app/controllers/test_cases_controller.rb (create): to make
    activeresource happy, a successful create should not redirect (302), so
    for json we no longer do that
    * jaribio/app/models/test_case.rb: has_many :plans
    * jaribio/app/models/user.rb (after_token_authentication): implemented
    callback to set an instance variable @token_authenticated so we can
    later determine how the user was authenticated, we only want to disable
    csrf for valid token authentication
    (token_authenticated?): if @token_authenticated is set, returns it,
    otherwise false
    * jaribio/spec/controllers/api_authentication_spec.rb: new file, these
    are tests around the csrf protection avoidance with api authentication
    * jaribio/spec/controllers/test_cases_controller_spec.rb: tests for the
    new json specific functionality of create()
    * jaribio/spec/models/test_case_spec.rb: added a dumb test for plans
    relationship
    * jaribio/spec/models/user_spec.rb: added a test around token
    authentication logic now in model
    Brian Jones committed May 4, 2012
  4. Issue #68

    jaribio/Gemfile: selenium-webdriver updated to 2.20.0 to work with newer
    versions of firefox
    jaribio/Gemfile.lock: capybara updated (this appears to have updated a
    few dependencies as well
    jaribio/app/controllers/application_controller.rb: all controllers will
    skip the before filter verify_authenticity_token for now; need to make
    this only happen for valid token authentication
    (skip_csrf?): new method, just returns true for now
    jaribio/app/controllers/test_cases_controller.rb (show): must unescape
    the provided params[:id] when not a number because it does not happen
    automatically in this case, and also raise RecordNotFound if the
    test case is not found
    jaribio/spec/models/suite_test_case_spec.rb: removed require of
    ruby-debug
    jaribio_formatter/lib/jaribio/execution.rb (record_results): the record
    key must be escaped for the call to find() and prefix_options must be
    set on the model instance rather than passed to save() which does not
    support that particular usage
    jaribio_formatter/lib/jaribio/rspec_formatter.rb (get_example_key): now
    base64 encode the md5 hash of the key when the key is the example
    description and not set via jaribio_key
    jaribio_formatter/lib/jaribio/test_case.rb: instead of setting
    element_name, set collection_name so that test_case is still used as the
    root param for the posted json while the url used is /cases
    jaribio_formatter/spec/lib/jaribio/execution_spec.rb: updated test
    jaribio_formatter/spec/lib/jaribio/rspec_formatter_spec.rb: updated
    tests
    Brian Jones committed May 3, 2012
Commits on Apr 17, 2012
  1. Issue #68

    * jaribio_formatter/lib/jaribio/rspec_formatter.rb (record_result): deal
    with nil exceptions better; formatter now gets the right results but
    updating jaribio still borked
    Brian Jones committed Apr 16, 2012
Commits on Apr 10, 2012
  1. Issue #68 better isolation of specs from rspec

    Brian Jones committed Apr 9, 2012
Commits on Apr 8, 2012
  1. Issue #68 tests

    * spec/lib/jaribio/execution_spec.rb: implement 2 pending tests
    Brian Jones committed Apr 7, 2012
Commits on Apr 6, 2012
  1. Issue #68 working on tests

    * lib/jaribio/execution.rb (record_results): default plans to empty
    array
    * lib/jaribio/rspec_formatter.rb (close): default plans to empty array
    * spec/lib/jaribio/rspec_formatter_spec.rb: adding tests
    * spec/lib/jaribio/execution_spec.rb: new file
    Brian Jones committed Apr 5, 2012
Commits on Apr 4, 2012
  1. Convert to acts_as_list

    Brian Jones committed Apr 3, 2012
Commits on Mar 13, 2012
  1. Issue #68

    * jaribio/app/controllers/executions_controller.rb: add :json as a
    response type
    * jaribio/app/controllers/test_cases_controller.rb: add :json as a
    response type
    (show): adding method back, works with either id or unique_key
    * jaribio/config/routes.rb: remove the :except => :show from the
    test_cases resources route
    * jaribio/spec/controllers/test_cases_controller_spec.rb: add a couple
    of tests for show
    * jaribio_formatter/lib/jaribio/execution.rb: new file, this is an
    activeresource object with a custom class method for recording a set
    of results
    * jaribio_formatter/lib/jaribio/plan.rb (open?): new method
    * jaribio_formatter/lib/jaribio/record.rb (FAIL): changed from a value
    of 0 to a value of 2 to match jaribio app expectations
    (error): add attribute to store an error from running an test
    * jaribio_formatter/lib/jaribio/remote_object.rb (configure): can call
    this with an object providing the expected methods such as
    RSpec.configuration to set the activeresource site, api_key, and
    timeout, which is now customizable
    * jaribio_formatter/lib/jaribio/rspec_formatter.rb: by default sets
    the timeout to 5 seconds, but can be overridden by jaribio_timeout
    rspec configuration
    (close): implemented a first cut at this, but it is not well-tested and
    has issues still
    (record_result): fill in the error in record from the example failure
    exception
    * jaribio_formatter/lib/jaribio/test_case.rb: new file
    * jaribio_formatter/lib/jaribio_formatter.rb: require some new files
    * jaribio_formatter/spec/lib/jaribio/plan_spec.rb: new file
    * jaribio_formatter/spec/lib/jaribio/remote_object_spec.rb: new file
    * jaribio_formatter/spec/lib/jaribio/rspec_formatter_spec.rb: updating
    specs
    * jaribio_formatter/spec/spec_helper.rb: not important right now, sets
    some variables specific to me and my dev jaribio
    Brian Jones committed Mar 12, 2012
Commits on Mar 7, 2012
  1. Small change in routing for execution creation

    * config/routes.rb: POST /plans/:plan_id/cases/:test_case_id/executions,
    the only difference here is the use of /cases in the url instead of
    /test_cases, just to match the use of /cases elsewhere.
    * spec/routing/executions_routing_spec.rb: added a routing test for
    this.
    Brian Jones committed Mar 7, 2012
Commits on Mar 6, 2012
  1. Issue #68

    * lib/jaribio/plan.rb: now inherits from RemoteObject
    * lib/jaribio/record.rb (initialize): fixed some bugs
    * lib/jaribio/remote_object.rb: new file, this is a base class for our
    active_resource objects that will automatically add the needed api_key
    query parameter as needed
    * lib/jaribio_formatter.rb: fixing some requires
    * spec/lib/jaribio/record_spec.rb: new spec
    * spec/lib/jaribio/rspec_formatter_spec.rb: fixed the spec related to
    results which was wrong before
    * spec/spec_helper.rb: require in jaribio_formatter instead of
    jaribio-formatter
    Brian Jones committed Mar 5, 2012
Commits on Mar 5, 2012
  1. Issue #68

    * jaribio/app/controllers/plans_controller.rb (open): new method
    * jaribio/app/models/plan.rb (open_plans): new scope
    * jaribio/config/routes.rb: route get /plans/open
    * jaribio/spec/controllers/plans_controller_spec.rb: test open
    * jaribio/spec/models/plan_spec.rb: test open_plans
    * jaribio/spec/routing/plans_routing_spec.rb: test /plans/open
    * jaribio_formatter/.rvmrc: change gemset name to match gem
    * jaribio_formatter/Gemfile.lock: updated
    * jaribio_formatter/jaribio_formatter.gemspec: updated
    * jaribio_formatter/lib/jaribio/plan.rb: new file
    * jaribio_formatter/lib/jaribio/rspec_formatter.rb: require rspec/core
    Brian Jones committed Mar 4, 2012
  2. Fixing README

    Brian Jones committed Mar 4, 2012
  3. Finishing moving files around, update README

    Brian Jones committed Mar 4, 2012
  4. Renaming the gem dir to jaribio_formatter

    Brian Jones committed Mar 4, 2012
  5. Removing commented lines

    * Rakefile: removing some comments
    Brian Jones committed Mar 4, 2012
  6. Removing use of jeweler.

    * Gemfile: updated
    * Gemfile.lock: updated
    * Rakefile: don't use jeweler
    * jaribio_formatter.gemspec: new file, maintained by hand
    * lib/jaribio/formatter/version.rb: new file
    * spec/lib/jaribio/rspec_formatter_spec.rb: removing a pending test
    Brian Jones committed Mar 4, 2012
Commits on Mar 4, 2012
  1. Adding configuration of formatter options

    * .rspec: output descriptions when running
    * lib/jaribio-formatter.rb: path changes
    * lib/jaribio/record.rb: new file
    * lib/rspec_formatter.rb -> lib/jaribio/rspec_formatter.rb: moved and
    added configuration
    * spec/lib/rspec_formatter_spec.rb ->
    spec/lib/jaribio/rspec_formatter_spec.rb: moved, added tests for
    configuration
    Brian Jones committed Mar 3, 2012
Commits on Feb 7, 2012
  1. Issue #14 updating README

    Brian Jones committed Feb 6, 2012
  2. Issue #14 updating README

    Brian Jones committed Feb 6, 2012
  3. Issue #14 improve coverage of current code

    * Gemfile: added simplecov
    * Gemfile.lock: updated
    * spec/lib/rspec_formatter_spec.rb: updating tests to increase coverage
    * spec/spec_helper.rb: add simplecov use
    Brian Jones committed Feb 6, 2012
Commits on Feb 5, 2012
Something went wrong with that request. Please try again.