GENI-NSF / geni-tools

Omni, stitcher, GCF sample aggregate manager, and other GENI tools.
Other
11 stars 15 forks source link

Add RSpec helper routines #98

Open ahelsing opened 9 years ago

ahelsing commented 9 years ago

Writing RSpecs is a pain.

Investigate adding some routines to make this easier for experimenters.

Imported from trac ticket #98, created by ahelsing on 01-25-2012 at 09:32, last modified: 10-17-2014 at 15:50

ahelsing commented 9 years ago

Possibilities include

Note I'm not currently suggesting routines that would essentially take an unbound request and make it bound, graphical tools, etc

Trac comment by ahelsing on 01-25-2012 at 09:37

seledwards commented 9 years ago

Replying to ahelsing:

  • script to run an RSpec through rspeclint, and/or other sanity checks

The method validate_rspec() (and it's helper method rspeclint_exists()) for running rspeclint on an RSpec is in gcf/src/geni/util/rspec_util.py

There are various other RSpec manipulation utility functions in this file. (That said, the file could probably use a little cleanup and refactoring.)

Trac comment by sedwards (github user: seledwards) on 01-25-2012 at 09:44