near-daos / sputnik-dao-contract

Smart contracts for https://app.astrodao.com
https://astrodao.com/
MIT License
107 stars 79 forks source link

Add unit tests for the DAO factory #106

Closed ctindogaru closed 2 years ago

ctindogaru commented 2 years ago

Increase unit test coverage of the factory:

https://github.com/near-daos/sputnik-dao-contract/blob/main/sputnikdao-factory2/src/lib.rs

Every method should be tested with at least one happy scenario. Please also add a failure scenario where possible.

TrevorJTClarke commented 2 years ago

@ctindogaru This issue will need to address the requirements setup in #112 which will be complete soon.

TrevorJTClarke commented 2 years ago

@ctindogaru going to close this, in favor of the issues created to cover scenarios - see full kanban here: https://github.com/orgs/near-daos/projects/3/views/4