lorey / mlscraper

🤖 Scrape data from HTML websites automatically by just providing examples
https://pypi.org/project/mlscraper/
1.31k stars 89 forks source link

Test example code #2

Open lorey opened 4 years ago

lorey commented 4 years ago

If the code changes, examples break. Maybe there's a way to test example code easily during automated testing.

Found solutions:

lorey commented 2 years ago

Code can be included within .rst, maybe just run the code and include it.

leo8198 commented 2 years ago

I created a #28 pull request to address this issue. I'm not using sphinx because I think that pytest solves the problem for now.