perrette / papers

Command-line tool to manage bibliography (pdfs + bibtex)
MIT License
142 stars 22 forks source link

Call main() instead of shell's papers to speed-up tests #53

Closed perrette closed 1 year ago

perrette commented 1 year ago

Calling a subprocess papers involves an overhead mostly because all libraries have to be loaded again. Running the test calling papers.main.main(...) offers a significant speedup.