You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have set the allure.properties as allure.results.directory=./allure-results and place it at location "src/test/resources"
When I am running my tests from with testng.xml it works but when I run with this main method these allure-results is NOT creating while the TestNG test-output folder is creating successfully
I have tried passing the flag in command, setting System.setProperty("allure.results.directory", path); but it's not working as expected
// Run the test with this Runner class
public class Runner {
public static void main(String[] args) {
TestListenerAdapter tla = new TestListenerAdapter();
TestNG testng = new TestNG();
List<String> suites = Lists.newArrayList();
suites.add("testng.xml");
testng.setTestSuites(suites);
testng.run();
}
}
Expected Behaviour
It should create an allure-results folder with the jar as well on the same project directly as the path set to allure.results.directory=./allure-results
Screenshots or Additional Context
No response
What Language are you using?
Java
What Framework/Allure Integration you are using?
allure-testng
What version of Allure Integration you are using?
2.27.0
What version of Allure Report you are using?
2.27.0
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Describe the Bug
I have set the allure.properties as allure.results.directory=./allure-results and place it at location "src/test/resources"
When I am running my tests from with testng.xml it works but when I run with this main method these allure-results is NOT creating while the TestNG test-output folder is creating successfully
I have tried passing the flag in command, setting
System.setProperty("allure.results.directory", path);
but it's not working as expectedSteps to Reproduce
Expected Behaviour
It should create an allure-results folder with the jar as well on the same project directly as the path set to allure.results.directory=./allure-results
Screenshots or Additional Context
No response
What Language are you using?
Java
What Framework/Allure Integration you are using?
allure-testng
What version of Allure Integration you are using?
2.27.0
What version of Allure Report you are using?
2.27.0
Code of Conduct
The text was updated successfully, but these errors were encountered: