Commits on Jul 19, 2013
Commits on Jul 17, 2013
  1. Bump version

    eric1234 committed Jul 17, 2013
  2. Remove ActiveRecord::TestCase special case.

    eric1234 committed Jul 17, 2013
    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

    eric1234 committed Apr 9, 2013
  2. Minor tweaks

    eric1234 committed Apr 9, 2013
Commits on Jan 12, 2013
  1. Remove dependencies

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

    eric1234 committed Aug 29, 2012
    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.

    eric1234 committed Aug 29, 2012
    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

    eric1234 committed Apr 4, 2012
Commits on Feb 9, 2011
  1. Require stdlib dependency

    eric1234 committed Feb 9, 2011
Commits on Jan 31, 2011
  1. Version bump

    eric1234 committed Jan 31, 2011
  2. Try to handle dependency issues in Rails better.

    eric1234 committed Jan 31, 2011
    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

    eric1234 committed Jan 31, 2011
Commits on Jan 30, 2011
Commits on Jan 29, 2011
  1. Bump version

    eric1234 committed Jan 29, 2011
  2. Get tests running on true test environment.

    eric1234 committed Jan 29, 2011
    Thanks to Vikrant Chaudhary for helping me come up with a MUCH better way
    of switching to the test environment. For more info see:
Commits on Dec 9, 2010
  1. Bump version.

    eric1234 committed Dec 9, 2010
  2. Better support for non-standard directories.

    eric1234 committed Dec 9, 2010
    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.

    eric1234 committed Nov 12, 2010
Commits on Sep 21, 2010
  1. Compatible enough with 2.3.x to load as a dependency.

    eric1234 committed Sep 21, 2010
    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

    eric1234 committed Sep 4, 2010
Commits on Aug 11, 2010
  1. Make more Rails happy.

    eric1234 committed Aug 11, 2010
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…

    eric1234 committed Jul 3, 2010
    … once.
    Also updated Rakefile to have test task again.
Commits on Jun 26, 2010