Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
ActiveSupport::TestCase support
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
theturingmachine  
View profile  
 More options Jun 3 2011, 10:22 am
From: theturingmachine <theturingmach...@gmail.com>
Date: Fri, 3 Jun 2011 07:22:42 -0700 (PDT)
Local: Fri, Jun 3 2011 10:22 am
Subject: ActiveSupport::TestCase support
Hi all,

I've done a patch to rinari to support activesupport tests in rails.

You can review the patch here. https://gist.github.com/1006410

I'm not very experienced with elisp, so the patch can probably be
improved. Also you can execute a single test only if you are on the
test declaration line. (test "something" do)

Greetings


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steve Purcell  
View profile  
 More options Jun 5 2011, 11:48 am
From: Steve Purcell <st...@sanityinc.com>
Date: Sun, 05 Jun 2011 16:48:16 +0100
Local: Sun, Jun 5 2011 11:48 am
Subject: Re: [rails-on-emacs] ActiveSupport::TestCase support
Cool. There was already some sort of support in place, right? What was
the incorrect behavior which this patch fixes?

-Steve


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
theturingmachine  
View profile  
 More options Jun 6 2011, 3:45 am
From: theturingmachine <theturingmach...@gmail.com>
Date: Mon, 6 Jun 2011 00:45:41 -0700 (PDT)
Local: Mon, Jun 6 2011 3:45 am
Subject: Re: ActiveSupport::TestCase support
I tried with the latest version of rinari but it wasn't doing
anything. While inside a test it would always find the setup function
definition so it would never execute any test, you would have to be
placed outside any test. Right now that would still be the case, but
if you're on the test definition line you get the expected result. I
based it a little bit on the ruby-add-to-log function but nothing as
complex as you can see. If you were using it with normal tests like
"def test_something" it would work normally. With this patch both
cases should work now.

Greetings

On Jun 5, 5:48 pm, Steve Purcell <st...@sanityinc.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steve Purcell  
View profile  
 More options Jun 9 2011, 5:10 pm
From: Steve Purcell <st...@sanityinc.com>
Date: Thu, 09 Jun 2011 22:10:15 +0100
Local: Thurs, Jun 9 2011 5:10 pm
Subject: Re: [rails-on-emacs] Re: ActiveSupport::TestCase support
Could you maybe try out my alternative formulation of your patch, by
replacing your rinari-test and rinari-test-function-name definitions
with the following? -

 https://gist.github.com/1017754

-Steve


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »