Skip to content

WIP: Test the elixir functions#9

Open
cmush wants to merge 4 commits into
ndac-todoroki:update-depsfrom
cmush:update-deps
Open

WIP: Test the elixir functions#9
cmush wants to merge 4 commits into
ndac-todoroki:update-depsfrom
cmush:update-deps

Conversation

@cmush

@cmush cmush commented Sep 29, 2021

Copy link
Copy Markdown

run mix test test/id3v2_test.exs

@cmush

cmush commented Sep 29, 2021

Copy link
Copy Markdown
Author

@ndac-todoroki are you able to provide the original file with which you wrote the doctests?

include test mp3 file

@ndac-todoroki ndac-todoroki left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is one option, but tag writing tests may be done at new files:

  1. create empty mp3 files with random names in setup with File.write
  2. test writing tags
  3. delete all files in after_suite, so it could be batch deleted

this way, tests could be divided and done async without worrying about IO conflicts!

Comment thread .gitignore
Comment on lines +30 to +31
.DS_Store
priv/.DS_Store No newline at end of file

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should go to your local $GIT_DIR/info/exclude or core.excludesFile, since this is specific to macOS systems.
https://git-scm.com/docs/gitignore

@ndac-todoroki

ndac-todoroki commented Oct 4, 2021

Copy link
Copy Markdown
Owner

are you able to provide the original file with which you wrote the doctests?

The current documents were not for doctests, so there are no original files 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants