Error while running a test

37 views
Skip to first unread message

punit

unread,
Oct 8, 2009, 3:34:39 AM10/8/09
to selenium-ruby
Error message

>ruby idp.rb
idp.rb:5: class/module name must be CONSTANT
class idp < Test::Unit::TestCase
^
>Exit code: 1


Can u please tell me why this message is coming and how to resolve
this problem.
One temporary solution is- this message disappears after Changing the
name to Untitled .
Thanks in Advance
Punit

Raveendran P

unread,
Oct 9, 2009, 12:11:42 AM10/9/09
to seleni...@googlegroups.com
Hi ,


class name should start with CAPS

so it should be

class Idp < Test::Unit::Testcase

try and let me know the result ..

Thanks
P.Raveendran
http://raveendran.wordpress.com
--
Regards,
P.Raveendran
http://raveendran.wordpress.com

punit jain

unread,
Oct 9, 2009, 12:51:00 AM10/9/09
to seleni...@googlegroups.com
Ya it's working, Thanks Raveendran...
--
punit
Reply all
Reply to author
Forward
0 new messages