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

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    using @parameter annotation in testng test case throwing exception

    Software Quality Assurance & Testing | 11 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 | 7 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 | 2 months 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 | 1 month 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
      TestNG.run
      1. org.testng.internal.Parameters.createParameters(Parameters.java:155)
      2. org.testng.internal.Parameters.createParameters(Parameters.java:358)
      3. org.testng.internal.Parameters.createConfigurationParameters(Parameters.java:86)
      4. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:199)
      5. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
      6. org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:175)
      7. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:107)
      8. org.testng.TestRunner.privateRun(TestRunner.java:767)
      9. org.testng.TestRunner.run(TestRunner.java:617)
      10. org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
      11. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
      12. org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
      13. org.testng.SuiteRunner.run(SuiteRunner.java:254)
      14. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      15. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      16. org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
      17. org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
      18. org.testng.TestNG.run(TestNG.java:1057)
      18 frames
    3. org.apache.maven
      TestNGProvider.invoke
      1. org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
      2. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:129)
      3. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:113)
      4. org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
      4 frames
    4. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
      2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
      3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      3 frames