allure-framework / allure2

Allure Report is a flexible, lightweight multi-language test reporting tool. It provides clear graphical reports and allows everyone involved in the development process to extract the maximum of information from the everyday testing process
https://allurereport.org/
Apache License 2.0
4.19k stars 712 forks source link

allure plugin --profile how set #370

Closed amandaXCY closed 7 years ago

amandaXCY commented 7 years ago

allure plugin --profile how set

"allure plugin --profile ./config/allure.yml" but is wrong

I can customize self plugin

eroshenkoam commented 7 years ago
config/allure-{profile-name}.yml
allure generate --profile {profile-name} target/results
baev commented 7 years ago

yep, by default allure uses config/allure.yml configuration file. You can create your own configuration (for example to disable some default plugins). So create file

config/allure-someprofilename.yaml

and then you can use this configuration using the following command:

$ allure --profile someprofilename <command>
amandaXCY commented 7 years ago

If I can put the config and pugins move to other places, this is my project: project/config/allure.yml `//allure.yml plugins:

now i run : allure generate --profile ./config/alluer -c allure-results -o allure-report && allure open

open website: No plugins are introduced

amandaXCY commented 7 years ago

we use npm intall allure-commandline , my want add new plugin, if add to /config/, Not easy management,so we want to add other dir

baev commented 7 years ago

created an issue https://github.com/allure-framework/allure2/issues/378