BeforeAll for all tests?

18 views
Skip to first unread message

craig buchanan

unread,
Jan 13, 2017, 8:35:13 AM1/13/17
to Pester
I know that BeforeAll fires once for all tests in a given Command.Test.ps1 file.  Is there a way to have a single event that fires once for all tests in a module (each function in a separate file)?  I need to open a session to a server resource and would prefer that this once be done once.

Thanks.

Reply all
Reply to author
Forward
0 new messages