Skip to content

proposal: Global setup teardown and configure method similar to rspec-ruby spec_helper for testing package #39222

Closed
@adhithya-srinivasan

Description

@adhithya-srinivasan

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions