≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Feature request #1663

Feature request #1663: Hard-core acceptance tests

Kind feature request
Product Walrus
When Created 2010-08-28T16:45:51Z, updated 2010-08-29T14:30:55Z
Status closed
Reporter Greg Hurrell
Tags no tags

Description

I often find myself running Walrus over a large body of templates after making a change (eg. over the Hextralapolate docs), and then running git diff over the output to make sure that it really works the same as it did before.

This shows I don't really trust my specs.

So, the idea is to actually clone the Hextrapolate docs and run Walrus over it as part of the acceptance tests. Would store the expected HTML and compare. Unfortunately this adds a dependency on buildtools as well, but that seems a necessary evil.

This would be a very useful tool especially now that I am trying to get Walrus to work on 1.9 as well. And eventually when I switch to 1.9 as my base Ruby version, I'll want to have a very solid spec suite to ensure that 1.8.7 support isn't broken.

Comments

  1. Greg Hurrell 2010-08-29T14:30:45Z

    Done, and happily, the new acceptance specs all pass under Ruby 1.9. Now there are a few remaining failures in the rest of the spec suite (13 of them), but I believe I know the (easy) fix for most of them, which will leave only a couple of edge cases.

  2. Greg Hurrell 2010-08-29T14:30:55Z

    Status changed:

    • From: new
    • To: closed
Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets