Let’s Write More Tests

Expand your testing suite to ensure comprehensive coverage of the smart contract.

Let’s continue by writing more test cases. Specifically, we’ll test creator and applicant profile creation, job creation, and application. For practice, we recommend testing further for application approval and rejection.

Writing the tests

Let’s write a test to check how our creator profile creation works.

Testing the creator profile function

Copy and paste the test case code below into your project:

Get hands-on with 1400+ tech skills courses.