-
Notifications
You must be signed in to change notification settings - Fork 378
Restructure Parachains Integration Tests (Emulated) #2892
Comments
I would prefer Proposal 2. It would solve the problem without touching anything else. I like our current directory tree structure which follows In Proposal 1 you are overlooking we will have There is also another alternative which is this one: #2752 |
@NachoPal good point about Bridges |
If you agree, what I can do is to split
Then, each parachain will have to import only Only |
yeah, sounds good to me |
I am finally coming to adding some integration tests, @NachoPal are you going to change this in your big PR? |
No, I will open a new one. |
Context:
The current structure for the tests based on
xcm-emulator
under theparachains/integration-tests/emulated/
directory,./common
- setup for all networks (polkadot, kusama, etc) hence imports all runtimes./%parachain%
- tests crate per parachain which importscommon
Problem:
Proposal 1
Per crate per network with all tests cases structured via modules, the xcm-emulator setup located in crate's lib.rs, something like
parachains/integration-tests/emulated/
:./polakdot
./polakdot/src/lib.rs
- xcm-emulator setup moved fromcommon
, only the part concerning Polkadot network./polakdot/src/assethub
- parachain based module./polakdot/src/treasury
- feature based module...
./kusama
...
Proposal 2
Split
parachains/integration-tests/emulated/common
intoparachains/integration-tests/emulated/network/[polkadot|kusama|...]
.The text was updated successfully, but these errors were encountered: