Is there way to init data in ginkgo for all specs under the context?
As far I understand BeforeEach
will run on every It
spec.
Is there way to achive this?
Context("another context", func(){
Before(func(){
// run once for all spec
// to init data
}
It("will test something", func(){
}
It("will test something", func(){
}
})