Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How to write unit test for contracts? #244

Open
ashutoshvarma opened this issue Jan 27, 2023 · 1 comment
Open

Question: How to write unit test for contracts? #244

ashutoshvarma opened this issue Jan 27, 2023 · 1 comment

Comments

@ashutoshvarma
Copy link
Contributor

I could not find any documentation regrading contracts testing. Is there any counterpart for #[ink(test)] in ask! ? Or a way to mock env() interface?

@yjhmelody
Copy link
Contributor

Now it's not supported. Not very easy to impl it because dealing with pointers in AS is cumbersome.
And also ink! update their code this part very fast.
We need more time to focus on main feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants