org.wso2.carbon.identity.testutil
Class IdentityBaseTest
- java.lang.Object
-
- org.wso2.carbon.identity.testutil.IdentityBaseTest
public abstract class IdentityBaseTest extends Object
TestNG test that extended from IdentityBaseTest class can read "log-level" parameter from testng.xml configuration file and set that value as the root log level before executing each test method. Example :<test name="basic-authenticator-tests-with-debug-logs" preserve-order="true" parallel="false"> <parameter name="log-level" value="debug"/> <classes> <class name="org.wso2.carbon.identity.application.authenticator.basicauth.BasicAuthenticatorTestCase"/> </classes> </test>
Test cases that should run twice with debug and info or any other log levels need to be extended from this class.- See Also:
-
PowerMockTestCase
-
Constructor Summary
Constructors Constructor and Description IdentityBaseTest()
Copyright © 2018 WSO2. All rights reserved.