1

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.

2
  • What kind of integration tests? Multiple pallets within Rust code? Or spinning up a node and connecting to it? Jan 5, 2023 at 13:31
  • My question is about multiple pallets within rust code. 1. Any example/ samples of integration tests in this cases 2. Any guideline/ industry standard in case of substrate pallets Jan 5, 2023 at 23:45

1 Answer 1

2

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.