Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jul 19, 2013
Commits on Jul 17, 2013
  1. Bump version

    authored
  2. Remove ActiveRecord::TestCase special case.

    authored
    This has become annoying anyway since we may be using other ORM. Luckily
    Rails 4 has solved this for us by making ActiveRecord just use the normal
    ActiveSupport::TestCase which removes the issue.
Commits on Apr 9, 2013
  1. Bump version

    authored
  2. Minor tweaks

    authored
Commits on Jan 12, 2013
  1. Remove dependencies

    authored
    No longer assume ActiveRecord or Test::Unit (might be using mini-test).
Commits on Aug 29, 2012
  1. Better Rails integration.

    authored
    The backtrace was getting overly stripped because rails assumed all tests
    are in the "test" directoy. This fixes this by removing the backtrace silencer
    when in the test environment. We might consider allowing silencing of backtrace
    in libraries to make it more like Rails' default behavior. But I have always
    found that annoying. We are debugging when we are running tests so having the
    full backtrace is necessary.
    
    Also fork running the tests so we are sure it is happening in isolation.
  2. Removed name randomization.

    authored
    When generating test names (required by Test::Unit) we used to generate a
    random name (if one not provided). In case of clashes (common if providing
    a name) it also added a 5 digit number to the end of every name.
    
    Later we found it useful to include the file and line number of the test into
    the name. This made the randomization and the 5 digit number unnecessary.
    This commit removes that making the output much cleaner and reducing the amount
    of code in this library.
Commits on Apr 4, 2012
  1. Bump version

    authored
Commits on Feb 9, 2011
  1. Require stdlib dependency

    authored
Commits on Jan 31, 2011
  1. Version bump

    authored
  2. Try to handle dependency issues in Rails better.

    authored
    Rails annoyingly loads all helpers for any subclass of ActionController::Base.
    This includes the TestController used by ActionView::TestCase. So basically
    our helpers are loaded just by loading Rails test stuff.
    
    Our solution is to use 'load' instead of 'require'. This means that some
    files will load more than once but it means we can capture the tests even
    though Rails has already loaded our helpers. We already had code in place
    to prevent the test from registering more than once.
    
    The only downside is a file may not be designed to be reloadable (i.e.
    it might set some constant so we will start getting warnings, etc). I think
    we are just going to have to cross that bridge when we come to it. With the
    way things were the helper tests were not getting run at all.
  3. Bump version

    authored
Commits on Jan 30, 2011
Commits on Jan 29, 2011
  1. Bump version

    authored
  2. Get tests running on true test environment.

    authored
    Thanks to Vikrant Chaudhary for helping me come up with a MUCH better way
    of switching to the test environment. For more info see:
    
    http://stackoverflow.com/questions/4349916/automatically-run-gem-tasks-in-test-environment
Commits on Dec 9, 2010
  1. Bump version.

    authored
  2. Better support for non-standard directories.

    authored
    Provide ActiveSupport::TestCase as default for all non-specified directories so
    lib is no longer a special case and new directories will use that superclass
    by default.
Commits on Nov 12, 2010
  1. Additional Rails 3 support.

    authored
Commits on Sep 21, 2010
  1. Compatible enough with 2.3.x to load as a dependency.

    authored
    We still do not want to support < Rails 3 for actually using this library.
    But if there is an 2.3.x Rails app that is using a library that is using
    test_inline we want that library to be loadable.
Commits on Sep 17, 2010
Commits on Sep 4, 2010
  1. Credit where credit is due

    authored
Commits on Aug 11, 2010
  1. Make more Rails happy.

    authored
Commits on Jul 24, 2010
Commits on Jul 3, 2010
  1. Ensure that if a model gets included more than once we only run tests…

    authored
    … once.
    
    Also updated Rakefile to have test task again.
Commits on Jun 26, 2010
Something went wrong with that request. Please try again.