|
20 | 20 | 5. [Reference - An under-the-hood peek at what the module is doing and how](#reference) |
21 | 21 | 6. [Limitations - OS compatibility, etc.](#limitations) |
22 | 22 | 7. [Development - Guide for contributing to the module](#development) |
23 | | -8. [Testing - How to test the JIRA module](#testing) |
24 | | -9. [Contributors](#contributors) |
| 23 | +8. [Contributors](#contributors) |
25 | 24 |
|
26 | 25 | ## Overview |
27 | 26 |
|
@@ -286,48 +285,7 @@ Please feel free to raise any issues here for bug fixes. We also welcome feature |
286 | 285 | requests. Feel free to make a pull request for anything and we make the effort to |
287 | 286 | review and merge. We prefer with tests if possible. |
288 | 287 |
|
289 | | -## Testing |
290 | | - |
291 | | -### How to test the JIRA module |
292 | | - |
293 | | -Using [puppetlabs_spec_helper](https://github.com/puppetlabs/puppetlabs_spec_helper). |
294 | | -Simply run: |
295 | | - |
296 | | -```shell |
297 | | -bundle install && bundle exec rake spec |
298 | | -``` |
299 | | - |
300 | | -to get results. |
301 | | - |
302 | | -```shell |
303 | | -ruby -S rspec spec/classes/jira_install_spec.rb --color |
304 | | -. |
305 | | - |
306 | | -Finished in 0.38159 seconds |
307 | | -1 example, 0 failures |
308 | | -``` |
309 | | - |
310 | | -Using [Beaker - Puppet Labs cloud enabled acceptance testing tool.](https://github.com/puppetlabs/beaker). |
311 | | - |
312 | | -The beaker tests will install oracle Java to /opt/java. When running the beaker |
313 | | -tests you agree that you accept the [oracle java license](http://www.oracle.com/technetwork/java/javase/terms/license/index.html). |
314 | | - |
315 | | -```shell |
316 | | -bundle install |
317 | | -BEAKER_set=ubuntu-server-12042-x64 bundle exec rake beaker |
318 | | -BEAKER_set=ubuntu-server-1404-x64 bundle exec rake beaker |
319 | | -BEAKER_set=debian-73-x64 bundle exec rake beaker |
320 | | -BEAKER_set=centos-64-x64 bundle exec rake beaker |
321 | | -BEAKER_set=centos-70-x64 bundle exec rake beaker |
322 | | -BEAKER_set=centos-64-x64-pe bundle exec rake beaker |
323 | | -``` |
324 | | - |
325 | | -To save build time it is useful to host the installation files locally on a web |
326 | | -server. You can use the download_url environment variable to overwrite the default. |
327 | | - |
328 | | -```shell |
329 | | -export download_url="'http://my.local.server/'" |
330 | | -``` |
| 288 | +For details, see <https://github.com/voxpupuli/puppet-jira/blob/master/.github/CONTRIBUTING.md>. |
331 | 289 |
|
332 | 290 | ## Contributors |
333 | 291 |
|
|
0 commit comments