Skip to content
Permalink
master

Commits on Jul 10, 2019

  1. Merge pull request #12 from amberframework/ep/update-readme

    Update README.md
    eliasjpr committed Jul 10, 2019
  2. Update README.md

    eliasjpr committed Jul 10, 2019
  3. Update README.md

    eliasjpr committed Jul 10, 2019
  4. Merge branch 'master' into ep/update-readme

    eliasjpr committed Jul 10, 2019

Commits on Sep 13, 2018

  1. Merge pull request #16 from amberframework/ep/controller-spec

    [CleanUp] Cleans Garnet Spec Implementation
    eliasjpr committed Sep 13, 2018

Commits on Jun 25, 2018

  1. [Api] Adds Page method to System Test API

    Having the page object available in tests is useful to perform custom
    checks and provides a number of methods for controlling the navigation
    of the page, such as visit, click, fill etc. The methods facilitates the
    interaction with the current session.
    eliasjpr committed Jun 25, 2018

Commits on Jun 24, 2018

  1. [Fixes] Gracefully Shuts down the GarnetSpec Server

    Previously servers stay alive after a spec runs.
    
    - Changes the way server shutdown is handled
    
    Servers are shut down gracefully.
    eliasjpr committed Jun 24, 2018
  2. [CleanUp] Cleans Garnet Spec Implementation

    Controller Specs
    - Changes how Controller tests are performed it now requires less
    boilerplate code
    
    System Tests
    
    - Removes unecessary modules and simplifies code a lot.
    - No need to specify Capabilities
    - Class change from GarnetSpec::System::Test to GarnetSpec::SystemTest
    
    ```crystal
    require "./spec_helper"
    include GarnetSpec::RequestHelper
    
    describe "Request Specs" do
      describe "#get" do
        it "should return a HTTP::Client::Response" do
          get("/posts").should be_a HTTP::Client::Response
        end
      end
    end
    ```
    
    To enable Amber tests with garnet just have to overwrite the Garnet
    handler in spec helper
    
    ```crystal
    handler = Amber::Server.instance.handler
    handler.prepare_pipelines
    
    module GarnetSpec
      HANDLER = handler
    end
    ```
    eliasjpr committed Jun 24, 2018

Commits on Jun 19, 2018

  1. tick to v0.2.1 (#18)

    robacarp committed Jun 19, 2018

Commits on Jun 18, 2018

  1. Uses scenario instead of `it`

    eliasjpr committed Jun 18, 2018

Commits on Jun 17, 2018

  1. Merge pull request #15 from amberframework/crystal_0_25

    hack update to point to an updated shard
    eliasjpr committed Jun 17, 2018
  2. Merge branch 'master' into crystal_0_25

    eliasjpr committed Jun 17, 2018
  3. Merge pull request #13 from katafrakt/content-type-controller-specs

    Don't override Content-Type if already given
    eliasjpr committed Jun 17, 2018
  4. hack update to point to an updated shard

    robacarp committed Jun 17, 2018

Commits on Jun 15, 2018

  1. Don't override Content-Type if already given

    katafrakt committed Jun 15, 2018
  2. Merge branch 'master' into ep/update-readme

    faustinoaq committed Jun 15, 2018
  3. Merge pull request #14 from katafrakt/fix-travis

    Fix Travis CI build
    faustinoaq committed Jun 15, 2018
  4. Fix travis

    katafrakt committed Jun 15, 2018

Commits on Jun 14, 2018

  1. Update README.md

    Adds more details about tests
    eliasjpr committed Jun 14, 2018

Commits on Apr 13, 2018

  1. [Controller Tests] Adds Missing HTTP Verbs (#11)

    Issue: #10
    
    Garnet should supports all the HTTP verbs available for simulating
    requests in a conntroller test. Currently is missing the Options, Trace,
    and Connect http verbs
    
    Adds missing HTTP Read Verbs to generate helper methods for
    testing controllers.
    
    With these changes Garnet has available all the HTTP verbs needed.
    eliasjpr authored and robacarp committed Apr 13, 2018

Commits on Feb 25, 2018

  1. Readme example is broken (#8)

    `GarnetSpec::SystemTestCase` doesn't seem to be a valid class, but `GarnetSpec::System::Test` does.
    robacarp committed Feb 25, 2018

Commits on Feb 14, 2018

  1. Merge pull request #9 from robacarp/fix_broken_garnet

    Fix broken garnet
    robacarp committed Feb 14, 2018

Commits on Feb 13, 2018

  1. Add note about installing java on macos to readme

    robacarp committed Feb 13, 2018

Commits on Nov 12, 2017

  1. Change name everywhere (#4)

    * Change name everywhere
    
    * Change the a tag being clicked
    
    * Start selenium-server on different port
    This should avoid Java runtime exception
    
    * Change module name to 'GarnetSpec' instead of 'Spec'
    
    * Bump version
    marksiemers committed Nov 12, 2017

Commits on Nov 11, 2017

  1. Initial commit - moved from 'amberframework/amber-spec'

    marksiemers committed Nov 11, 2017
You can’t perform that action at this time.