Good catch Brian. Revision 8184a2023e5f9 contains the fix for this issue.
Now hoist/dehoist commands are also tested using hypothesis.
Vitalije
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving
It no longer crashes for me, thanks.
While it doesn't crash, it is still possible to move a node left out of a
hoist and the node "disappears". If it is the last node then it
disappears and the outline pane becomes empty. The existing leo doesn't
behave this way. Another behavior difference. Leo
>
> And finally, I succeeded in pushing the latest version of VR3 to Leo's devel
> branch.
>
Yay!! :)
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Vitalije,
On Fri, May 8, 2020 at 7:51 AM vitalije wrote:
> *What next?*
>
> The main purpose of this prototype was to prove my claims about how Leo
> architecture should change. Which parts should be moved to View, which
> should be moved to Model and which should be moved to the Controller.
>
You can try making these changes:
-from hypothesis import given, settings
+from hypothesis import given, settings, Verbosity
-@settings(max_examples=5000, deadline=timedelta(seconds=4))
+@settings(max_examples=5000, deadline=timedelta(seconds=4),
verbosity=Verbosity.verbose)
And then add the
Vitalije
On Thu, May 7, 2020 at 2:42 PM vitalije wrote:
> In last few days I've been working on tests to be sure that all commands
> in new prototype are working correctly and that no crash will ever occur. I
> am pretty sure now that the implementation is correct and there are no
> remaining
If you want to have visual feedback add the following line in the
test_select_and_commands function:
...
meth = getattr(app, name)
meth()
app.processEvents() # <--- add this line
...
Tests wilil run about 3 times slower, so you might want to change
max_examples=5000 in the decorator to
On Friday, May 8, 2020 at 1:42:12 AM UTC-5, vitalije wrote:
> I use pytest for running the tests. Just 'pytest myleoqt.py'.
When I do that a blank python window appears and everything hangs.
I've tried waiting several minutes. What should I do?
Edward
--
You received this message because
On Sat, May 9, 2020 at 8:37 AM vitalije wrote:
If you want to have visual feedback add the following line in the
> test_select_and_commands function:
> ...
> meth = getattr(app, name)
> meth()
> app.processEvents() # <--- add this line
> ...
>
> Tests will run about 3 times slower, so you might
On Fri, May 8, 2020 at 8:18 PM Thomas Passin wrote:
> And finally, I succeeded in pushing the latest version of VR3 to Leo's devel
> branch.
>
> Thanks so much to Matt and everyone who helped get this straightened out.
>
I second the thanks to Matt.
Edward
--
You received this message
10 matches
Mail list logo