crisishistory/HistoryAIToolkit

Write a minimal test for slicing the simplest wav file

Open

#62 opened on 2023年10月6日

GitHub で見る
 (3 comments) (0 reactions) (1 assignee)Python (18 forks)github user discovery
good first issuehacktoberfest-acceptedhelp wanted

Repository metrics

Stars
 (13 stars)
PR merge metrics
 (PR metrics pending)

説明

  • Familiarize yourself with the very basics of pytest
  • Create the file tests/test_slicer.py
  • Define a test in test_slicer.py called test_audio_slicing
  • In your test, create a simple wav file per https://stackoverflow.com/a/57192182/271697
  • In your test, call audio_slicing() with your wav file and verify that the slices are created

If you have more experience with pytest and want to use fixtures, etc. you can, or you can just write the simplest possible test per above and we can iterate later.

コントリビューターガイド