Unit test not running

18 views
Skip to first unread message

Ray Bon

unread,
Mar 18, 2025, 11:18:21 PMMar 18
to CAS Developer
I am trying to run a unit test with the following command (against master):

./testcas.sh --category unit --test SurrogateLdapAuthenticationServiceTests

which runs:

./gradlew testSimple  --tests "SurrogateLdapAuthenticationServiceTests" --no-daemon --configure-on-demand --build-cache -x javadoc -x check -Dverbose=true --parallel

which executes and prints '... exit code 0 ...', even when a failing assert is added to the test.

What am I missing?

Thanks

Ray


Misagh

unread,
Mar 18, 2025, 11:20:53 PMMar 18
to CAS Developer
You're missing the fact that testSimple cannot run something tagged for LDAP. 

-- Misagh

--
You received this message because you are subscribed to the Google Groups "CAS Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-dev+u...@apereo.org.
To view this discussion visit https://groups.google.com/a/apereo.org/d/msgid/cas-dev/ae0100dc-c8df-4394-9475-1639630783cfn%40apereo.org.
Reply all
Reply to author
Forward
0 new messages