Minitest reporter problems

Okay I give up. I asked a question a while back on getting mintest to play nice with a non-rails applications and I have that down. However I'm trying to get it working on rails now and I'm having the same problems. I get the 'unable to attach test reporter' So I follow the steps in this article http://www.jetbrains.com/ruby/webhelp/minitest.html and now I'm getting no feedback from the test bar, as in it doesn't show red or green when my tests fail or pass and if a test fails, the icons in the console window stay green as if everything is okay.

I'm on Mac OSX and all I do it start a new rails project and try to get it running tests.

Can anyone help?

Here is my original post. http://devnet.jetbrains.net/message/5465618?tstart=0

Thanks.

8 comments
Comment actions Permalink

Hi Rob,

I'm afraid we need to see your project to help :(

Regards, Oleg.

0
Comment actions Permalink

Hi Oleg,
     Find attached.

Thanks,
Rob



Attachment(s):
Evolution.zip
0
Comment actions Permalink

Hi Rob,

Well, it works for me (with RM 4.5.3) :(
I'm using Ruby 1.9.3 and I'm on Windows but it does work.
What output do you see when you try to run tests?

Regards, Oleg.

0
Comment actions Permalink

I've attached a screenshot of the output and test window. No idea what is going on here then. I'm on OSX with RM 4.5.3. As you can see the test bar is just empty.

Rob



Attachment(s):
Screen Shot 2012-09-04 at 07.45.29.png
0
Comment actions Permalink

The bar is empty because you have the only test "test/performance/browsing_test.rb" and it has no assertions.
So we have basically nothing to report.  Try to add some unit tests and you should see progress.

Oleg.

0
Comment actions Permalink

Hi, Sorry I've added a controller and a test and its still not working correctly.

Maybe it's an OSX version problem?



Attachment(s):
Screen Shot 2012-09-04 at 19.03.52.png
0
Comment actions Permalink

Hi Rob,

your new class doesn't add more tests, since some_test() is not a test (test should start from "test_")
after you willl rename some_test() to test_some() you will see some difference but the progress will not show 100%, since
we do not work well with performance tests (perhaps this is a bug, but I'm not sure)

So, as a resume, RM does works fine with your project/tests, but there some problem with performance test (we miss its completion).
Thus you are ready to develop tests, but if problem with performance test it important for you feel free to file a bug about it in out tracker (http://youtrack.jetbrains.com/issues/RUBY)

Hope I've answered you question, but feel free to ask more ;)

Regards, Oleg.

0
Comment actions Permalink

Thanks for your help it's much appriciated. I'm sure I'll have more questions in the future. I'm way off caring about the performance test right now but maybe in the future if it's not fixed in future releases I'll report it.

Thanks again,
Rob

0

Please sign in to leave a comment.