Letractively / rubycas-server

Automatically exported from code.google.com/p/rubycas-server
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Cucumber Scnerios #83

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Any one has written the cucumber scnerios for the main application using
the ruby cas authentication
Can i know how can i write  cucumber scenarios for 

What version of RubyCAS-Server are you using? How is it installed (rubygem,
manual install)? How are you running it (webrick, mongrel, passenger,
etc.)?

If relevant, please paste your RubyCAS-Server config.yml file here.

Please provide any additional information below.

Original issue reported on code.google.com by dummy.or...@gmail.com on 12 Oct 2009 at 10:23

GoogleCodeExporter commented 8 years ago
Umm... sliced, with some salt and pepper? Good on a sandwich, also.

Original comment by matt.zuk...@gmail.com on 13 Oct 2009 at 7:28

GoogleCodeExporter commented 8 years ago
OK, so I'm guessing the original author meant something like my own problem.

I have a small-but-growing set of cucumber tests, and we've just begun looking 
at
using rubyCAS authentication.

We're unsure how you go about authenticating from within the cucumber test 
suite.

Our rake-test-style tests are easy-enough, as we can mock out the Filter and 
just
stuff our user-details straight into the session ourselves.

I'm not really sure how to do that through cucumber. Probably hitting the wall 
of my
own newbiness on cucumber here, but I was wondering if anyone else has done 
cucumber
testing on an application that authenticates using rubyCAS - and if so - how 
they
went about it.

Original comment by taryne...@gmail.com on 8 Dec 2009 at 9:50

GoogleCodeExporter commented 8 years ago
Oh, and we're using: gunark-rubycas-server (0.8.0.20090812)
installed as a gem (but will hopefully be gem-bundling that when we confirm 
we'll be
using it) and accessing it using rubycas-client (2.1.0)

Note: this may, in fact, be a rubycas-client question, but I figured I should 
ask
here just in case :)

Original comment by taryne...@gmail.com on 8 Dec 2009 at 9:52

GoogleCodeExporter commented 8 years ago
This patch I just merged into gunark-rubycas-client might be of help:

http://github.com/gunark/rubycas-
client/commit/1eb10cc285d59193eede3d4406f95cad9db9d93a

I haven't tried this myself, but I believe the idea is to set up a fake version 
of the 
filter for testing. Note that this is something you'd do on the client side.

Original comment by matt.zuk...@gmail.com on 9 Dec 2009 at 10:25

GoogleCodeExporter commented 8 years ago

Original comment by matt.zuk...@gmail.com on 8 Jun 2010 at 9:54