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

Demo of simple @testset #17

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Demo of simple @testset #17

wants to merge 2 commits into from

Conversation

fonsp
Copy link
Member

@fonsp fonsp commented Nov 10, 2021

MWE of a testset

Schermafbeelding 2021-11-10 om 00 59 47

@fonsp fonsp changed the title Demo of simple testset Demo of simple @testset Nov 10, 2021
@dralletje
Copy link
Member

Very nice

@Pangoraw
Copy link
Member

Pangoraw commented Mar 14, 2022

i made a portable version on this notebook if anyone is interested (not sure why failing tests print tough) ! it also supports for loops and nested testsets.

Edit: it does not support @test that are not visible in the given expression.

@disberd
Copy link
Member

disberd commented May 1, 2023

@Pangoraw this would be very nice. Any reason not to push your notebook example for this PR?
Seems a very useful feature without any apparent immediate drawback (it won't break the current @test functionality)

@Pangoraw
Copy link
Member

Pangoraw commented May 2, 2023

The inner test collection methods in my notebook only work on the provided expr and not globally which makes it different than the Test stdlib.

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