Prathamesh Musale
d346b95234
- Add E2E tests following pattern suggested in cosmos-sdk docs: https://docs.cosmos.network/v0.50/build/building-modules/testing#end-to-end-tests - Tests for gRPC requests - Tests for manually configured CLI commands - Add a CI workflow to run these E2E tests Reviewed-on: deep-stack/laconic2d#13 Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
18 lines
334 B
Go
18 lines
334 B
Go
package auction
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/cosmos/cosmos-sdk/testutil/network"
|
|
"github.com/stretchr/testify/suite"
|
|
|
|
"git.vdb.to/cerc-io/laconic2d/tests/e2e"
|
|
)
|
|
|
|
func TestAuctionE2ETestSuite(t *testing.T) {
|
|
cfg := network.DefaultConfig(e2e.NewTestNetworkFixture)
|
|
cfg.NumValidators = 1
|
|
|
|
suite.Run(t, NewE2ETestSuite(cfg))
|
|
}
|