github.com/crystal-loot/webless
0.2.0 / published Jun 16, 2025 / repository
HTTP::Client for testing HTTP::Handlers directly and maintaining cookies
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
-
Add the dependency to your
shard.yml:dependencies: webless: github: crystal-loot/webless -
Run
shards install
Usage
require "webless"
TODO: Write usage instructions here
Development
- Write code
- Write spec
crystal speccrystal tool format spec src./bin/ameba
Contributing
- Fork it (https://github.com/crystal-loot/webless/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- matthewmcgarvey - creator