Class ConfigPropertyFileProfileTest

  • All Implemented Interfaces:
    org.testng.IHookable, org.testng.ITestNGListener

    public class ConfigPropertyFileProfileTest
    extends org.jboss.arquillian.testng.Arquillian
    Test cases for Config profile
    Author:
    Emily Jiang
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ConfigPropertyFileProfileTest.ProfilePropertyBean  
      • Nested classes/interfaces inherited from class org.jboss.arquillian.testng.Arquillian

        org.jboss.arquillian.testng.Arquillian.UpdateResultListener
    • Field Summary

      • Fields inherited from class org.jboss.arquillian.testng.Arquillian

        ARQUILLIAN_DATA_PROVIDER
    • Constructor Detail

      • ConfigPropertyFileProfileTest

        public ConfigPropertyFileProfileTest()
    • Method Detail

      • deployment

        @Deployment
        public static org.jboss.shrinkwrap.api.spec.WebArchive deployment()
      • testConfigProfileWithDev

        public void testConfigProfileWithDev()
        Check both the file microprofile-config.properties and microprofile-config-dev.properties are loaded as config sources but the file microprofile-config-prod.properties is ignored.