You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Improve amount of code exercised by tests](https://codeclimate.com/github/rails-api/active_model_serializers/coverage?sort=covered_percent&sort_direction=asc).
- Delete and offsense, run `rake rubocop` (or possibly `rake rubocop:auto_correct`),
79
-
and [submit a PR](CONTRIBUTING.md#submitting-a-pull-request-pr).
80
-
81
-
- We are also encouraging comments to substantial changes (larger than bugfixes and simple features) under an
82
-
"RFC" (Request for Comments) process before we start active development.
83
-
Look for the [**RFC**](https://github.com/rails-api/active_model_serializers/labels/RFC) label.
84
-
85
-
#### Submitting a pull request (PR)
86
-
87
-
1. The vast majority of development is happening under the `master` branch.
88
-
This is where we would suggest you start.
89
-
1. Fixing bugs is extraordinarily helpful and requires the least familiarity with ActiveModelSerializers.
90
-
Look for issues labeled [**Needs Bug Verification**](https://github.com/rails-api/active_model_serializers/labels/Needs%20Bug%20Verification) and [**Bug**](https://github.com/rails-api/active_model_serializers/labels/bug).
91
-
1. Adding or fixing documentation is also fantastic!
92
-
93
-
To fetch & test the library for development, do:
94
-
95
-
1. Fork the repository ( https://github.com/rails-api/active_model_serializers/fork )
-[Level up your Git](http://rakeroutes.com/blog/deliberate-git/)
147
-
-[All Your Open Source Code Are Belong To Us](http://www.benjaminfleischer.com/2013/07/30/all-your-open-source-code-are-belong-to-us/)
72
+
Run a single test
148
73
149
-
## Issue Labeling
150
-
151
-
ActiveModelSerializers uses a subset of [StandardIssueLabels](https://github.com/wagenet/StandardIssueLabels) for Github Issues. You can [see our labels here](https://github.com/rails-api/active_model_serializers/labels).
152
-
153
-
## Running tests
74
+
`$ rake test TEST=path/to/test.rb TESTOPTS="--name=test_something"`
154
75
155
76
Run tests against different Rails versions by setting the RAILS_VERSION variable
156
-
and bundling gems. To test against all versions, you can do something like:
77
+
and bundling gems.
157
78
158
79
```bash
159
80
forversionin 4.0 4.1 4.2 master;do
@@ -172,21 +93,3 @@ for version in 4.0 4.1 4.2 master; do
172
93
done
173
94
```
174
95
175
-
176
-
### Running with Rake
177
-
178
-
The easiest way to run the unit tests is through Rake. The default task runs
179
-
the entire test suite for all classes. For more information, checkout the
180
-
full array of rake tasks with "rake -T"
181
-
182
-
Rake can be found at http://docs.seattlerb.org/rake/.
183
-
184
-
To run a single test suite
185
-
186
-
`$ rake test TEST=path/to/test.rb`
187
-
188
-
Which can be further narrowed down to one test:
189
-
190
-
`$ rake test TEST=path/to/test.rb TESTOPTS="--name=test_something"`
0 commit comments