Closed benbalter closed 10 years ago
I think this is awesome. I also think that testing is such a good thing for lawyers to learn (even me), that it should be a chapter! Thanks @benbalter.
I'm wondering if there are any law(yer)-specific things to mention in a testing chapter. I could see it fitting well under a larger banner of automation.
I'm wondering if there are any law(yer)-specific things to mention in a testing chapter.
off the top of my head: Citations being valid (or common errors like spaces before/after §), reading score, using common weasel words or legal jargon?
I love all of those ideas. I think a citation proofer needs to be built first before being written about ... unless one already exists?
This pull requests adds a single
.travis.yml
which implements continuous integration checking via Travis CI. Specifically, on each pull request, the following will be checked:If all of the above passes, you'll see a big :green_heart: status icon on the pull request, letting you know you can merge with confidence (example of a successful build). If not, you'll see a :x:, indicating there's an error (example of an erred build for this site).
To note, in running it, it found two bad links, including a http/https swap, and a improper internal anchor.
@konklone, I know you were sensitive about not bloating the root with system files, but I think a single
.travis.yml
file (rather than e.g., a Gemfile + scripts) strikes a good balance as the feedback provided will be helpful for new users.@vzvenyach If merged, you'll need to tell Travis to watch your Repo, which you can do in ~30 seconds by:
(note, the CI service is free and requires no maintenance once initially configured)