https://github.com/crystal-loot/webless
HTTP::Client for testing HTTP::Handlers directly and maintaining cookies
https://github.com/crystal-loot/webless
crystal http testing
Last synced: 7 months ago
JSON representation
HTTP::Client for testing HTTP::Handlers directly and maintaining cookies
- Host: GitHub
- URL: https://github.com/crystal-loot/webless
- Owner: crystal-loot
- License: mit
- Created: 2022-01-11T04:22:35.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-06-16T03:26:07.000Z (9 months ago)
- Last Synced: 2025-06-16T04:12:05.240Z (9 months ago)
- Topics: crystal, http, testing
- Language: Crystal
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`:
```yaml
dependencies:
webless:
github: crystal-loot/webless
```
2. Run `shards install`
## Usage
```crystal
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 ()
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
- [matthewmcgarvey](https://github.com/matthewmcgarvey) - creator