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

Liturgical law specs: meaningful example names #101

Open
2 tasks
igneus opened this issue Jun 6, 2023 · 0 comments
Open
2 tasks

Liturgical law specs: meaningful example names #101

igneus opened this issue Jun 6, 2023 · 0 comments

Comments

@igneus
Copy link
Owner

igneus commented Jun 6, 2023

spec/liturgical_law_spec.rb builds specs from code examples contained in the markdown files in liturgical_law/. Example names contain markdown file paths and line numbers.
2023-06-06-233153_1366x768_scrot

It would be desirable to

  • generate an example group for every markdown heading
  • include last encountered paragraph number and few initial words of the paragraph in example name (only for documents with numbered paragraphs).

So e.g. the example L525 would have a name like 36. Dominica a die 2... and be nested in several levels of example groups, the deepest one of them being IV. De tempore Nativitatis

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

No branches or pull requests

1 participant