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

https://github.com/vicentereig/coveralia

Sample Rails 3.2.6 app to give a shot to Steak/RSpec acceptance tests
https://github.com/vicentereig/coveralia

Last synced: about 1 month ago
JSON representation

Sample Rails 3.2.6 app to give a shot to Steak/RSpec acceptance tests

Awesome Lists containing this project

README

        

Just a sample Rails 3.2.6 app to give a shot to Steak, RSpec, and Factory Girl together. The app tests three
basic features: adding an album to your music collection, uploading a cover to an existing album, and searching albums by artist and/or title.

```bash
Vicentes-MacBook-Pro:coveralia(master) vicente$ rake stats
+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Controllers | 56 | 47 | 3 | 10 | 3 | 2 |
| Helpers | 4 | 4 | 0 | 0 | 0 | 0 |
| Models | 39 | 28 | 4 | 0 | 0 | 0 |
| Libraries | 0 | 0 | 0 | 0 | 0 | 0 |
| Acceptance specs | 144 | 113 | 0 | 4 | 0 | 26 |
+----------------------+-------+-------+---------+---------+-----+-------+
| Total | 243 | 192 | 7 | 14 | 2 | 11 |
+----------------------+-------+-------+---------+---------+-----+-------+
Code LOC: 79 Test LOC: 113 Code to Test Ratio: 1:1.4
```