sillsdev / SpeechAnalyzer

SIL Speech Analyzer is a Windows program for acoustic analysis of speech sounds.
https://software.sil.org/speech-analyzer/
7 stars 3 forks source link

chore: Get unit tests working #15

Closed darcywong00 closed 3 years ago

darcywong00 commented 3 years ago

@megahirt noticed there's several unit test projects that aren't automatically built & run.

Using VS 2019's Test Explorer, we should

megahirt commented 3 years ago

Some documentation on using VS Test Explorer: https://docs.microsoft.com/en-us/visualstudio/test/run-unit-tests-with-test-explorer?view=vs-2019

megahirt commented 3 years ago

Some documentation on running unit tests from the command line and using Github Actions:

https://docs.microsoft.com/en-us/visualstudio/test/vstest-console-options?view=vs-2019

https://www.tessapower.co/github-actions/

darcywong00 commented 3 years ago

Documenting the state of unit tests as of the latest master branch:

ElanUtilsTest

0/1 test pass

LiftUtilsTest

6/7 tests pass (LiftSimple_04 fails)

SAScriptingTest

0/29 tests pass

URIParserTest

58/58 tests pass

WaveUtilsTest

WaveReadTest

0/4 tests pass

WaveResampleTest

0/13 tests run (nothing happens?)

WaveWriteTest

1/4 tests pass

darcywong00 commented 3 years ago

The unit tests are passing with #22. The GitHub action to run unit tests is in development with #20

darcywong00 commented 3 years ago

@megahirt - Your two PR's above resolve this issue, right?

megahirt commented 3 years ago

I think we can call this done.

On Tue, Aug 10, 2021 at 7:49 AM Darcy Wong @.***> wrote:

@megahirt https://github.com/megahirt - Your two PR's above resolve this issue, right?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sillsdev/SpeechAnalyzer/issues/15#issuecomment-895646601, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2I6KKIWOZMYU4F4ZTZ4Q3T4BZPXANCNFSM5AILZ7SQ .