An open API service indexing awesome lists of open source software.

https://github.com/anycable/anyt

AnyCable conformance testing tool
https://github.com/anycable/anyt

Last synced: about 1 year ago
JSON representation

AnyCable conformance testing tool

Awesome Lists containing this project

README

          

[![Cult Of Martians](http://cultofmartians.com/assets/badges/badge.svg)](https://cultofmartians.com/tasks/anycable-conformance-tool.html#task)
[![Gem Version](https://badge.fury.io/rb/anyt.svg)](https://rubygems.org/gems/anyt)
![Test](https://github.com/anycable/anyt/workflows/Test/badge.svg)

# Action Cable / AnyCable conformance testing tool

AnyT is a command-line tool to test your Action Cable or [AnyCable](http://anycable.io)-compatible WebSocket servers.

It contains a set of tests to determine which features are supported by the implementation under consideration.

## Installation

```sh
gem install anyt
```

## Usage

You should provide a command to run the server and the target URL for WebSocket clients:

```sh
anyt -c "anycable-go" --target-url="ws://localhost:8080/cable"
```

By default it launches gRPC server on `localhost:50051` and use local Redis instance for broadcasts (`localhost:6379`).

For more options run:

```sh
anyt -h
```

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/anycable/anyt/issues.

## License
The library is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).