From: Gaurang Shah Date: 2011-07-29T17:20:15+09:00 Subject: No tests were specified errror Hi all, I am new to ruby and so i am facing this silly issue. I have a BaseClass which i have inherited from test::Unit::Testcase, Inside that i only have setup and teardown method. Now there is another class DemoTest which i have inherited from BaseClass as shown below BaseClass.rb inside Test folder require 'test/unit' require 'rubygems' class BaseClass < Test::Unit::TestCase def setup puts "setup called" end def teardown puts "teardown called" end end DemoTest.rb inside Test Folder require 'Test/BaseClass' require 'test/unit' require 'rubygems' class DemoTest < BaseClass def test_first puts "first" end def test_second puts "second" end end Now when i run the DemoTest.rb it says something like this. 1) Failure: default_test(BaseClass) [C:/Documents and Settings/gshah/workspace/Framework/Test/DemoTest.rb:27]: No tests were specified. 3 tests, 1 assertions, 1 failures, 0 errors I am not able to understand why it is showing that No test were specified. And why it is showing me that there were 3 test while there is only two tests ???? -- Posted via http://www.ruby-forum.com/.