java - How to share expensive resource across multiple spock test groovy using the spock framework -


i running set of spock test integration test cases using maven surefire plugin. aware share resource across fixture of spec in single file using @shared keyword.

however, possible share across different spec file, possibly spec runner? or annotation not aware of?

spock uses junit execution model, doesn't envisage sharing state between test classes. common solution manage shared state static singleton.


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -