Skip to content

crystal-loot/webless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

HTTP::Client for testing HTTP::Handlers directly and maintaining cookies

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •