ozontech / allure-go

Complete Allure provider in Go which doesn't overload the interface usage
https://t.me/allure_go_chat
Apache License 2.0
306 stars 33 forks source link

Provide context in Before/After methods and test cases #72

Open nejtr0n opened 1 year ago

nejtr0n commented 1 year ago

Is your feature request related to a problem? Please describe. Some tests needs to bypass data between BeforeEach and Test case method. For example we start appliction on random port in BeforeEach test case and we need that port in test case to connect application.

Describe the solution you'd like Common patter to pass data in go is context.Context.

Describe alternatives you've considered Alternatively we could make getter to test parameters and pass data in it