org.testng.TestNGException: Parameter 'folderName' is required by @Configuration on method setUp_HerveLeger but has not been marked @Optional or defined

  1. 0

    using @parameter annotation in testng test case throwing exception

    Software Quality Assurance & Testing | 10 months ago | QAMember
    org.testng.TestNGException: Parameter 'folderName' is required by @Configuration on method setUp_HerveLeger but has not been marked @Optional or defined
  2. 0

    DependsOnGroups Fails with cyclic dependencies exception

    Stack Overflow | 3 years ago | khmarbaise
    org.testng.TestNGException: The following methods have cyclic dependencies: TheClassWhichContainsTest.thisIsTheFirstTest()[pri:0, instance:de.akdb.k m.tests.TheClassWhichContainsTest@3603820e]
  3. 0

    Test factory throws NPE when named with prefix

    Stack Overflow | 6 months ago | user3663882
    org.testng.TestNGException: Can't invoke public void com.test.b.TestCase.test(): either make it static or add a no-args constructor to your class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How can my Maven project run both JUnit and TestNG without TestNG trying to run JUnit tests?

    Stack Overflow | 1 month ago | entpnerd
    org.testng.TestNGException: Failure in JUnit mode for class com.hotwire.api.pricing.impl.PricingConfigIT: could not create/run JUnit test suite: Cannot find JUnit method class junit.framework.TestSuite$1.warning
  6. 0

    Whenever i am running my testng.xml from pom.xml i am getting the below described error can anyone please help me

    Google Groups | 3 days ago | Akash Srivastava
    org.testng.TestNGException: Listener customListeners.CustomListeners was not found in project's classpath

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.testng.TestNGException

      Parameter 'folderName' is required by @Configuration on method setUp_HerveLeger but has not been marked @Optional or defined

      at org.testng.internal.Parameters.createParameters()
    2. TestNG
      1. org.testng.internal.Parameters.createParameters(
      2. org.testng.internal.Parameters.createParameters(
      3. org.testng.internal.Parameters.createConfigurationParameters(
      4. org.testng.internal.Invoker.invokeConfigurations(
      5. org.testng.internal.Invoker.invokeConfigurations(
      6. org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(
      8. org.testng.TestRunner.privateRun(
      10. org.testng.SuiteRunner.runTest(
      11. org.testng.SuiteRunner.runSequentially(
      12. org.testng.SuiteRunner.privateRun(
      14. org.testng.SuiteRunnerWorker.runSuite(
      16. org.testng.TestNG.runSuitesSequentially(
      17. org.testng.TestNG.runSuitesLocally(
      18 frames
    3. org.apache.maven
      2. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(
      3. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(
      4. org.apache.maven.surefire.testng.TestNGProvider.invoke(
      4 frames
    4. SureFire
      1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(
      2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(
      3. org.apache.maven.surefire.booter.ForkedBooter.main(
      3 frames