You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In ruby rspec test framework we have spec_helper.rb to include methods like
RSpec.configure do |config|
c.before(:suite) { establish_connection }
end
which will run before and after specs ran.
Can we implement something similar to the above in our go lang testing package so that we can do global before and after configurations before and after running suite or each tests?
The text was updated successfully, but these errors were encountered:
adhithya-srinivasan
changed the title
Proposal - Global setup teardown and configure method similar to rspec-ruby spec_helper for testing package
proposal: Global setup teardown and configure method similar to rspec-ruby spec_helper for testing package
May 23, 2020
In ruby rspec test framework we have spec_helper.rb to include methods like
RSpec.configure do |config|
c.before(:suite) { establish_connection }
end
which will run before and after specs ran.
Can we implement something similar to the above in our go lang testing package so that we can do global before and after configurations before and after running suite or each tests?
The text was updated successfully, but these errors were encountered: