Class 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:
    • Constructor Detail

      • IdentityBaseTest

        public IdentityBaseTest()

Copyright © 2018 WSO2. All rights reserved.