Closed nanduni-nin closed 7 years ago
What is this code supposed to do? It extracts some content to a CSV file, but when is this supposed to run and what is supposed to happen with the written file?
I think it would be more useful to have an integration test, which creates a manifest directory from defined test data, runs inqlude view
and then parses the generated HTML files for the expected content and compares that with expectation directly in the test instead of writing out scraped data.
Add tests for extracting data from html files using Nokogiri. The extracted data is stored in a CSV file.