Open ryukzak opened 3 years ago
Right now, the only way to test our UI is a compilation.
We need to add at least a smoke test for our UI.
We should do the following things:
examples/teacup.lua
Synthesis step
best-thread
Subforest
Process
Testbench
Debug
Forward
Backward
We need to check that all these actions do not raise any exceptions, and testbench passed.
In this post the author gives an example with react-testing-library. It looks like what we need.
react-testing-library
One of the failed attempts:
Right now, the only way to test our UI is a compilation.
We need to add at least a smoke test for our UI.
We should do the following things:
examples/teacup.lua
);Synthesis step
->best-thread
;Subforest
,Process
,Testbench
,Debug
.We should do the following things:
examples/teacup.lua
);Subforest
;Forward
many times;Testbench
;Subforest
;Backward
many times.We need to check that all these actions do not raise any exceptions, and testbench passed.
In this post the author gives an example with
react-testing-library
. It looks like what we need.