Closed Connoropolous closed 2 years ago
Is the code intentionally not on the master branch while master is the default?
Yes and no. I avoid merging into master until documentation is written, but I could make the develop branch the default one.
Have you tried writing unit tests in Rust or used all JS for that?
It depends on your definition of unit tests. I have extracted reusable functionality into other crates (eg hc_crud_ceps
or essence_payloads
) which do have some unit tests. Almost everything in zome testing relies on setup or previous action and therefore I don't consider that to be unit testable.
As for writing the zome tests in Rust, I prefer Javascript because that's how it will be called in production. That way I have examples and code for when I'm writing a web UI.
cc @Connoropolous
Is the code intentionally not on the master branch while master is the default?
Have you tried writing unit tests in Rust or used all JS for that?