igumnoff / shiva

Shiva library: Implementation in Rust of a parser and generator for documents of any type
https://docs.rs/shiva
GNU General Public License v3.0
161 stars 11 forks source link

test module #42

Closed evgenyigumnov closed 4 months ago

evgenyigumnov commented 4 months ago
  1. create separate test module in this place:
[workspace]
resolver = "2"
members = [
    "lib",
    "cli",
]
  1. cover by unit tests for html, markdown

  2. each unit test should be for generate and parse funcrtion seporatly for each future: Header | Paragraph | List | Table | Image | Hyperlink | PageHeader | PageFooter

it should looke like:

fn test_html_hyperlink_parse

fn test_html_hyperlink_generate