Hi, David,
Thanks for the reply. I did try it with autotest only. The shared
examples reloaded with each test run. I did some further investigation
and sent an email to the dev mailing list with my findings and a
possible solution. Depending upon what I hear, I will be glad to enter
a bug.
BTW, thanks for your work with RSpec.
Chuck
----- Original Message ----
From: David C. [email protected]
To: rspec-users [email protected]
Sent: Thursday, February 7, 2008 11:01:19 AM
Subject: Re: [rspec-users] Shared examples not reloading in spec_server
On
Feb
7,
2008
9:39
AM,
Charles
Grindel
[email protected]
wrote:
I
am
currently
running
RSpec
1.1.3
with
ZenTest
3.9.1
on
Windows
XP.
I
have
noticed
that
shared
examples
are
not
being
reloaded
by
spec_server
when
they
have
been
updated.
Below
is
a
simple
example
that
reproduces
the
problem.
The
example
code
and
output
is
at
the
location
below.
I
have
confirmed
that
non-shared
examples
are
being
reloaded
by
spec_server.
So,
here
are
my
questions.
Has
anyone
else
noticed
this
behavior?
Does
anyone
know
how
I
can
force
spec_server
to
reload
the
shared
examples?
If
this
smells
like
a
bug,
can
someone
point
me
to
instructions
for
filing
a
bug?
Sounds
like
a
problem
with
your
autotest
configuration,
not
with
spec_server.
Try
it
without
spec
server
to
verify
that
is
correct.
If
it’s
that
autotest
isn’t
loading
them,
you
just
need
to
add
a
mapping
in
.autotest.
Read
the
ZenTest
docs
for
more
info
and/or
check
out
my
blog
post
on
this:
http://blog.davidchelimsky.net/articles/2008/01/15/rspec-1-1-2-and-zentest-3-8-0.
If
you
try
that
and
you
still
think
it’s
an
rspec
bug,
file
a
ticket
at
http://rspec.lighthouseapp.com.
Cheers,
David
Thanks,
Chuck
rspec-users
mailing
list