One have to read documentation, no options!
It clearly stated that you have to run java process in a special way if you want to get steps, attachments etc info in your Allure report upon running a TestNG based test set. And no, I had to spend two hours just to re-read the spec and discover that aspectjweaver dependency! And only after that it became clear that here is the way:
aspectjweaver_jar_file_name="$(ls ./lib/aspectjweaver-*.jar | xargs echo)"
java -ea -javaagent:"$aspectjweaver_jar_file_name" -cp "${full_classpath}" org.testng.TestNG ./test_suites/$testXmlName
2015-12-03
You should read documentation, really - Allure reports + TestNG and run from command line.
Метки:
Allure reports,
in english,
reports,
test automation,
TestNG
Подписаться на:
Комментарии к сообщению (Atom)
Комментариев нет:
Отправить комментарий