Closed DidierMalenfant closed 4 months ago
Incredible work! I managed to get the test waves rendered, and I also got unit testing to work successfully (for future reference: run pytest in the "tests" folder)
I'm glad that Pymod is now in a good state where I can begin working on it as before, and there's already a few things that need to be fixed (problems in my own code!) so I'll spend some time looking into those before finally publishing it to PyPI.
mmm... you shouldn't need to run pytest
in the tests
folder. I probably messed something up.
What error do you get when you run it from the root of the repo?
Sorry, I was just figuring things out, it runs fine from the root as well! Apologies for any confusion!
Main new additions for this is a new cleaner interface for the pymod module when imported into a python project:
or
This also contains unit tests that work with
pytest
. Reference WAV files were generated using commit 8f8264c6.They can be regenerated by cd-ing into a cloned repo of the project, launching python in interactive mode and typing:
The bulk of the code for the player is still untouched but changes/improvements can be made to it now while being able to make sure via unit testing that those don't break anything.