Hi all,
After researching on the Concordion github page, I found the way to re-use variable across markdown file
- using (- "before") in markdown file
- using @ConcordionScoped(Scope.SPECIFICATION) in Fixture file
Is there any things need to pay attention, feel free to share.
BTW, I would ask about the differences between @after/@before vs @afterExample/@beforeExample. Let's have a look at my case:
- after each example, I need to delete localStorage to cleanup the session. But if I used @afterExample it doesn't work but @After.
thought ?
Thanks,
Hung.