There is a very nice and structured way of writing unit test against a pallet. One can find a lot of examples of unit tests as well.
I will be thankful if any one can point me to some resources/samples of integration tests against pallets please.
There is a very nice and structured way of writing unit test against a pallet. One can find a lot of examples of unit tests as well.
I will be thankful if any one can point me to some resources/samples of integration tests against pallets please.
https://github.com/paritytech/parachains-integration-tests has tests that are geared up to XCM integration testing, and I hear that https://github.com/paritytech/zombienet also can run integration tests itself. There are also a few good recent talks at sub0 that are relevant: How to sleep at night and Centrifuge: FUDGE - Integration Tests for Substrate and Acala's chopsticks framework.