Flex-NFT-Marketplace / Flex-Marketplace-Contract

12 stars 40 forks source link

Complete integration tests for Creating Listing and Buy actions #51

Closed 0xandee closed 6 months ago

0xandee commented 9 months ago

Complete the test cases in test.

All contract are deployed and dispatcher initialized, refer to test utils for details.

use scarb run test to run all the tests, or scarb run test to run a specific test. Adjust the #[should_panic()] decorator error message based on the test case, refer to starknet foundry docs for detailed implementation.

All test cases are required to PASS

TAdev0 commented 8 months ago

Hey @0xandee , is this issue still available?

0xandee commented 8 months ago

Hey @0xandee , is this issue still available?

Yeah you can take it if you want!

TAdev0 commented 8 months ago

Let's do this @0xandee !

TAdev0 commented 8 months ago

@0xandee I just checked quickly the codebase and the tests folder, may i get a bit more of guidance about what needs to be tested exactly?

0xandee commented 8 months ago

@0xandee I just checked quickly the codebase and the tests folder, may i get a bit more of guidance about what needs to be tested exactly?

I'll write a quick diagram flow for everyone to catchup