Feature request: comments within the table
Closed this issue ยท 0 comments
axelson commented
Thanks for the library! ๐
For longer parameterized tables it would be helpful if we could embed comments within them as notes to ourselves about the specifics of a row, e.g. with the Elixir comment syntax:
param_test "users can view the post regardless of permission level",
"""
| permissions |
|-------------|
| :admin |
| :editor |
# Viewers are treated special
| :viewer |
| nil |
""",
%{user: user, permissions: permissions} do
assert Posts.can_view?(user), "User with #{permissions} permissions should be able to view"
end