Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/choptastic/nitrogen_test_example
A sample Nitrogen application to demonstrating the Nitrogen Test suite
https://github.com/choptastic/nitrogen_test_example
Last synced: 21 days ago
JSON representation
A sample Nitrogen application to demonstrating the Nitrogen Test suite
- Host: GitHub
- URL: https://github.com/choptastic/nitrogen_test_example
- Owner: choptastic
- Created: 2015-02-19T04:45:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-26T01:29:03.000Z (over 8 years ago)
- Last Synced: 2024-10-08T15:24:51.475Z (about 1 month ago)
- Language: JavaScript
- Size: 868 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# Sample Application for Demonstrating Testing
This application goes alone with the Talk given at Chicago Erlang User Group on February 19th, 2015.
Talk Info: http://www.meetup.com/ErlangChicago/events/220276271/
Slides: http://slides.sigma-star.com## Installation
```bash
git clone git://github.com/choptastic/nitrogen_test_example
cd nitrogen_test_example
make fix-slim-release && make
```## Starting the Server
```bash
bin/nitrogen console
```Then open your browser to http://127.0.0.1:8000
## To run the test page
Open up http://127.0.0.1:8000/index.test
## To run the full test suite
First edit the browser you wish to test in `etc/app.config`, then restart the VM:
```
> q().
$ nitrogen console
```Then on the newly spawned Erlang console:
```erlang
wf_test:start_all(nitrogen).
```# License
Copyright 2015 Jesse Gumm
MIT License