webless~crystal-loot

HTTP::Client for testing HTTP::Handlers directly and maintaining cookies testing http
0.2.0 Latest release released

webless

Webless is an HTTP Client that doesn't make real HTTP requests. It's used for testing calls, but much faster since it does not make any network calls.

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      webless:
        github: crystal-loot/webless
    
  2. Run shards install

Usage

require "webless"

TODO: Write usage instructions here

Development

  1. Write code
  2. Write spec
  3. crystal spec
  4. crystal tool format spec src
  5. ./bin/ameba

Contributing

  1. Fork it (https://github.com/crystal-loot/webless/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

webless:
  github: crystal-loot/webless
  version: ~> 0.2.0
License MIT
Crystal >= 1.14.0

Authors

Dependencies 0

Development Dependencies 2

  • ameba ~> 1.6.4
    {'github' => 'crystal-ameba/ameba', 'version' => '~> 1.6.4'}
  • spectator ~> 0.12.0
    {'gitlab' => 'arctic-fox/spectator', 'version' => '~> 0.12.0'}

Dependents 1

Last synced .
search fire star recently