https://github.com/mrblueblue/puppies
:dog:
https://github.com/mrblueblue/puppies
Last synced: 2 months ago
JSON representation
:dog:
- Host: GitHub
- URL: https://github.com/mrblueblue/puppies
- Owner: mrblueblue
- Created: 2017-04-14T03:30:10.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-30T03:56:16.000Z (about 8 years ago)
- Last Synced: 2025-02-06T01:44:33.790Z (4 months ago)
- Language: Elixir
- Homepage:
- Size: 43 KB
- Stars: 1
- Watchers: 8
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# puppies
Elixir scripts to automate mind-numbing release checks. Sniffs out bugs for you!

## Quick Start
```bash
mix deps.get
mix test
```## Requirements
* [Elixir 1.4](http://elixir-lang.org/install.html)
* [Erlang/OTP 19](http://erlang.org/doc/installation_guide/INSTALL.html)
* [Selenium](https://www.npmjs.com/package/selenium-standalone)## Running
Install dependencies first using
```bash
mix deps.get
```
### LocallyAssuming you have Selenium server with the Chrome driver running on port `4444`:
```bash
mix test
```### Remotely
The script relies on the environmental variables `USER`, `KEY` and `HOST`, which represent your Browserstack username, access key, and remote endpoint.
You can set these variables in an `.env` file like
```bash
export USER="example"
export KEY="example"
export HOST="http://${USER}:${KEY}@hub-cloud.browserstack.com"
```and then run:
```bash
source .env
```
Once these variables are set, you can run the Browserstack remote tests with:```bash
ENV=remote mix test
```## Resources
* https://github.com/HashNuke/hound
* http://elixir-lang.org/getting-started/introduction.html
* https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol
* http://elixir-lang.org/getting-started/mix-otp/introduction-to-mix.html
* https://hexdocs.pm/ex_unit/ExUnit.html