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

Run only a specific testTable row #8

Open
drathier opened this issue May 29, 2019 · 0 comments
Open

Run only a specific testTable row #8

drathier opened this issue May 29, 2019 · 0 comments

Comments

@drathier
Copy link
Owner

Something like:

testTableAt n str lst =
    testTable str (lst |> List.drop (n - 1) |> List.take 1)

Make sure the displayed error text still refers to the correct line number, including ignored lines. Filtering out the list naively, like done above, makes the error say "1st table test row" all the time.

Also make sure this marks the test suite as partial, e.g. implement this using skip or only. Probably only, since when would you otherwise want to skip rows?

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

1 participant