Updated CAS Functional Tests For CAS 4/5

48 views
Skip to first unread message

William

unread,
Aug 24, 2016, 9:09:21 AM8/24/16
to CAS Community
Good day,

Just FYI...I have updated the CAS functional tests located here: https://github.com/wcrowell/cas-functional-tests

There are 3 branches:
  1. master: Runs an embedded Jetty container and deploys cas-server-webapp and cas-management-webapp. Then runs tests against CAS 4.2.4.
  2. 4.2.x_without_embedded_container: Runs tests against CAS 4.2.x without firing up an embedded container.
  3. 5.0.x: Runs tests against CAS 5.0.x without starting up an embedded container.
You must setup an embedded container with cas-server-webapp, cas-management-webapp, and protected-web-app for branches 4.2.x_without_embedded_container and 5.0.x.

Thank you,

Bill Crowell

Misagh Moayyed

unread,
Aug 24, 2016, 11:22:50 AM8/24/16
to CAS Community
Excellent. Would you be willing to maintain this in the foreseeable future? I think Dima suggested to get the project moved over to Apereo and sort of make it official. Is this time? 

-- 
Misagh
--
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To post to this group, send email to cas-...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/7d4679d1-aad9-43b7-b5ac-bba183d86a9d%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Dmitriy Kopylenko

unread,
Aug 24, 2016, 11:28:06 AM8/24/16
to Misagh Moayyed, CAS Community
+1 on making it an “official” project. I think the canonical git remote could be housed under this umbrella: https://github.com/cas-projects

D.

William

unread,
Aug 24, 2016, 11:29:17 AM8/24/16
to CAS Community, mmoa...@unicon.net, dkopy...@unicon.net
Misagh,

I am willing to maintain it.  I am not going anywhere.  :)

Thanks,

Bill Crowell

Misagh Moayyed

unread,
Aug 24, 2016, 11:31:37 AM8/24/16
to CAS Community
Great. Lets give it a few more days to see if there are any objections to the proposal. Otherwise, we’ll get it moved by Monday and you’ll have full control over the repo. 

Thanks again. 

-- 
Misagh

From: William <william...@openlogic.com>
Reply: William <william...@openlogic.com>
Date: August 24, 2016 at 8:29:26 AM
To: CAS Community <cas-...@apereo.org>
--
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To post to this group, send email to cas-...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.

William

unread,
Aug 24, 2016, 11:55:00 AM8/24/16
to CAS Community, mmoa...@unicon.net
Misagh and Dmitriy,

I know everyone is really busy, but when you get a chance let me know if there is anything you do not like about the functional tests.

The one item I wanted to address was trying to start an embedded container with cas-server-webapp, cas-management-webapp, and a small client web app (protected-web-app), but it does not appear there is an easy to way to start multiple web apps within Spring Boot.  I have found some blog articles on it (http://www.davidtanzer.net/running_multiple_spring_boot_apps_in_the_same_jvm), but there does not appear a straight forward way to accomplish this.

I like the way Gretty allows you to do that using farms.  I just wish Spring Boot had a way of doing that as well.

Thank you,

Bill Crowell

Misagh Moayyed

unread,
Aug 25, 2016, 1:11:09 AM8/25/16
to CAS Community
Not something I don’t like but one thing I might suggest, as time and circumstance allow, is to extend this beyond the core CAS protocol which you’ve got covered quite well. Move onto other areas; test SAML1, SAML2, JWT, OIDC, Basic/Digest AuthN, Rest API, etc. Ideally and ultimately I think this has potential to turn into a full battery of functional tests for the entire suite. 

As for running apps in the same JVM, that should not be a problem. Mostly, you’ll have to specify a different port for each run. If your tests are done with these apps as overlays, it’s simply just a matter of supplying a -D parameter to the java command that runs them. If you try and run into trouble, lets carry the conversation on the dev list, or on bitter, etc.

-- 
Misagh

From: William <william...@openlogic.com>
Reply: William <william...@openlogic.com>
Date: August 24, 2016 at 8:55:05 AM
To: CAS Community <cas-...@apereo.org>
Cc: mmoa...@unicon.net <mmoa...@unicon.net>
Subject:  Re: [cas-user] Updated CAS Functional Tests For CAS 4/5

--
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To post to this group, send email to cas-...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.

Misagh Moayyed

unread,
Aug 25, 2016, 1:12:44 AM8/25/16
to CAS Community
Correction: Gitter :) (Thank you Mac OS X for correcting me) 

-- 
Misagh
Reply all
Reply to author
Forward
0 new messages