Open 0xandee opened 2 hours ago
I am applying to this issue via OnlyDust platform.
I am a web3 developer, I have expertise in smart contracts, decentralized technologies, and frameworks like React. I can build innovative dApps, contribute to open-source projects, educate others, and network with industry leaders to advance my career in the decentralized space.
I will complete the unit tests for FlexHausCollectible.cairo
in the flex_haus/src/collectible/
directory by writing test cases in the flex_haus/tests
folder. I will use scarb test
to run all the tests and ensure they pass successfully.
I am applying to this issue via OnlyDust platform.
I'm a frontend web 3 developer I have contributed to this repository in the last OD Hack and would love to continue in that same trajectory with over 55 + contribution
First, I'll go through the FlexHausFactory.cairo contract in flex_haus/src/factory to understand what each function does and which ones need testing. This helps in figuring out what scenarios to cover in the tests.
Set Up the Testing Folder
I will navigate to the flex_haus/tests folder
. If the folder or basic structure isn't there, I'll create the necessary test files where all the unit tests will be written.
Write Unit Tests For each function in the contract, I'll write tests that cover both expected and edge-case scenarios. Here's a rough example of how a simple test could look:
Run the Tests Using Scarb
Once the tests are written, I’ll run them using scarb test
to check if everything works as expected. Any failed test will point out areas that need fixing or adjusting in the contract.
Refactor if Needed If any tests fail, I'll look into what's going wrong—whether it's the test logic or the contract itself—and make necessary adjustments. with an ETA of 48 hours
I am applying to this issue via OnlyDust platform.
Mid level Cairo Developer
Create the test folder and file, then write test cases that cover all the key functions of the contract and ensure the tests verify the expected behavior for both success and failure scenarios and also include ownership checks, factory validation, and handling of reentrancy guard.
I am applying to this issue via OnlyDust platform.
I am a seasoned fullstack web3 developer. Here's my lil' portfolio: https://www.jedshock.com
My ETA: 30 hours I can take on this issue
I am applying to this issue via OnlyDust platform.
Hello I'm a front-end and a blockchain developer. I will love to solve this issue. Its something I can handle
I am applying to this issue via OnlyDust platform.
Hi, please can I be assigned this please? This would be my first time contributing to this project and I would love to be the given the opportunity to contribute to this project please ser. I have experience in html, css, JavaScript,TypeScript and solidity, and Cairo. I'm very good at testing.
To solve this issue, I'll take the following steps:
Please assign me, I'm ready to work.
I am applying to this issue via OnlyDust platform.
My name is Blessing, i am a frontend developer and a web3 developer.
To effectively resolve this issue, i would start by interpreting any error messages from scarb test to figure out if it's a syntax issue, function mismatch, or logic error.
Fix Function Signatures: If there's a mismatch between the contract functions and test cases, I will help you align the function parameters correctly.
Check Constructor/Deployment: I will guide you to ensure the constructor and contract deployment in the tests are done correctly.
Balance and Transfer Issues: If there are errors with token balances or transfers, I will help debug and confirm the logic works as expected.
Event Emission: I will assist in ensuring events are emitted properly and guide you on how to verify this in tests.
Run Tests and Debug: I will help you run scarb test, interpret the results, and make necessary adjustments until all tests pass.
By following this approach , i aim to provide a realiable and efficient solution to make all the cases to pass
I am applying to this issue via OnlyDust platform.
hello i'm an experienced frontend developer and a blockchain developer i would love to work on this issue Pleasee kindly assign :)
Complete the unit test of
flex_haus/src/collectible/FlexHausCollectible.cairo
, write test cases inflex_haus/tests
folder.Use scarb test to run all the tests.
All test cases are required to PASS.