Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jvshahid/hh-tdd
An example of using artoo and minitest
https://github.com/jvshahid/hh-tdd
Last synced: about 1 month ago
JSON representation
An example of using artoo and minitest
- Host: GitHub
- URL: https://github.com/jvshahid/hh-tdd
- Owner: jvshahid
- License: mit
- Created: 2015-03-26T00:39:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-03-26T16:49:33.000Z (over 9 years ago)
- Last Synced: 2023-04-10T15:01:51.651Z (over 1 year ago)
- Language: Ruby
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Artoo TDD
This is a blinking led example using artoo and minitest.
## C version
The equivalent C++ version is in `blinking.ino`. You can upload the
program by running `make upload` if you have arduino-mk installed or
simply use the arduino IDE.## Ruby version
The ruby version is in `blinking.rb`, using artoo requires installing
firmata on your arduino. Run `./install.sh` to run bundle install,
download `gort` and upload the firmware to your arduino. Note, you may
have to update the shell script to work for other OS and/or raspberry
pi.Once you installed firmata on your arduino, `ruby blinking.rb` should
run your app.Run `ruby -I.:spec spec/blinking_spec.rb` to run the specs. The specs
don't require the arduino to be connected (it is mocked out).