No features found at classpath:/runner | Selenium Forum
S
Sandeep Posted on 11/08/2021

Hi Team,

Please help in resolving the error as "No features found at classpath:/runner".

 

Trying to establish Maven+Testng+Cucumber Leaning video.

[RemoteTestNG] detected TestNG version 7.4.0
Aug 11, 2021 1:28:54 PM io.cucumber.core.runtime.FeaturePathFeatureSupplier get
WARNING: No features found at classpath:/runner
[32m[1m?????????????????????????????????????????????????????????????????????????????????????[0m
[32m[1m?[0m Share your Cucumber Report with your team at [36m[1m[4mhttps://reports.cucumber.io[0m [32m[1m?[0m
[32m[1m?[0m Activate publishing with one of the following: [32m[1m?[0m
[32m[1m?[0m [32m[1m?[0m
[32m[1m?[0m src/test/resources/cucumber.properties: [36mcucumber.publish.enabled[0m=[36mtrue[0m [32m[1m?[0m
[32m[1m?[0m src/test/resources/junit-platform.properties: [36mcucumber.publish.enabled[0m=[36mtrue[0m [32m[1m?[0m
[32m[1m?[0m Environment variable: [36mCUCUMBER_PUBLISH_ENABLED[0m=[36mtrue[0m [32m[1m?[0m
[32m[1m?[0m JUnit: [36m@CucumberOptions[0m(publish = [36mtrue[0m) [32m[1m?[0m
[32m[1m?[0m [32m[1m?[0m
[32m[1m?[0m More information at [36mhttps://reports.cucumber.io/docs/cucumber-jvm[0m [32m[1m?[0m
[32m[1m?[0m [32m[1m?[0m
[32m[1m?[0m Disable this message with one of the following: [32m[1m?[0m
[32m[1m?[0m [32m[1m?[0m
[32m[1m?[0m src/test/resources/cucumber.properties: [36mcucumber.publish.quiet[0m=[36mtrue[0m [32m[1m?[0m
[32m[1m?[0m src/test/resources/junit-platform.properties: [36mcucumber.publish.quiet[0m=[36mtrue[0m [32m[1m?[0m
[32m[1m?????????????????????????????????????????????????????????????????????????????????????[0m

===============================================
Default test
Tests run: 1, Failures: 0, Skips: 0
===============================================


===============================================
Default suite
Total tests run: 0, Passes: 0, Failures: 0, Skips: 0
===============================================

[TestNG] No tests found. Nothing was run
Usage: <main class> [options] The XML suite files to run
Options:
-alwaysrunlisteners
Should MethodInvocation Listeners be run even for skipped methods
Default: true
-configfailurepolicy
Configuration failure policy (skip or continue)
-d
Output directory
-dataproviderthreadcount
Number of threads to use when running data providers
-dependencyinjectorfactory
The dependency injector factory implementation that TestNG should use.
-excludegroups
Comma-separated list of group names to exclude
-failwheneverythingskipped
Should TestNG fail execution if all tests were skipped and nothing was
run.
Default: false
-groups
Comma-separated list of group names to be run
-junit
JUnit mode
Default: false
-listener
List of .class files or list of class names implementing ITestListener
or ISuiteListener
-methods
Comma separated of test methods
Default: []
-methodselectors
List of .class files or list of class names implementing IMethodSelector
-mixed
Mixed mode - autodetect the type of current test and run it with
appropriate runner
Default: false
-objectfactory
List of .class files or list of class names implementing
ITestRunnerFactory
-overrideincludedmethods
Comma separated fully qualified class names of listeners that should be
skipped from being wired in via Service Loaders.
Default: false
-parallel
Parallel mode (methods, tests or classes)
Possible Values: [tests, methods, classes, instances, none]
-port
The port
-reporter
Extended configuration for custom report listener
-spilistenerstoskip
Comma separated fully qualified class names of listeners that should be
skipped from being wired in via Service Loaders.
Default: <empty string>
-suitename
Default name of test suite, if not specified in suite definition file or
source code
-suitethreadpoolsize
Size of the thread pool to use to run suites
Default: 1
-testclass
The list of test classes
-testjar
A jar file containing the tests
-testname
Default name of test, if not specified in suitedefinition file or source
code
-testnames
The list of test names to run
-testrunfactory, -testRunFactory
The factory used to create tests
-threadcount
Number of threads to use when running tests in parallel
-threadpoolfactoryclass
The threadpool executor factory implementation that TestNG should use.
-usedefaultlisteners
Whether to use the default listeners
Default: true
-log, -verbose
Level of verbosity
-xmlpathinjar
The full path to the xml file inside the jar file (only valid if
-testjar was specified)
Default: testng.xml

 


S
Sandeep Replied on 12/08/2021

Addded a testng helloworld test and it's working fine


S
Sandeep Replied on 13/08/2021

I resolved it. Thanks