reportportal / agent-net-specflow

Report Portal agent for SpecFlow
Apache License 2.0
10 stars 5 forks source link

Add possibility for storing config options in app.config of current project #8

Closed grechman2 closed 7 years ago

grechman2 commented 7 years ago

We faced with a problem that our test project is configure via app.config and it would be great to have possibility to configure reportportal-net-agent via app.config, as we run our tests on different envs, we use transformation to change app.config for different envs.

grechman2 commented 7 years ago

@nvborisenko , Nikolay, thanks for reply! Please take a look at readme file update. Could you please advice on one more thing? Need to pass launch name as a parameter to reportportal, is it possible to pass parameters or it is not implemented yet? The only way for now, that I am aware of is hardcoded value in config file. But we have many test jobs in CI (teamcity) and it would be a mess to store all those test runs under one name. Thanks!

nvborisenko commented 7 years ago

You can find an example how to customize reporting in realtime: https://github.com/reportportal/example-net-specflow/blob/master/src/Example.SpecFlow/Hooks/Hooks1.cs

grechman2 commented 7 years ago

@nvborisenko thank you very much I will take a look at that

grechman2 commented 7 years ago

@nvborisenko Nikolay, please, advice, what should I change in that pull request for it to be approved? Thanks!

nvborisenko commented 7 years ago

@grechman2 your changes are in ReportPortal.SpecFlow.1.2.0-beta-4

grechman2 commented 7 years ago

thanks!