You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.
In regards of #93@torch2424 and I talked about working on tests for this project so we can always be sure everything works as intended even after something else in the system got updated.
We should compile a list of stuff we want to test, I've looked into both unit testing and functional testing in the past, which one would be the most applicable here? From my understanding, unit tests focusses on one function or method and functional testing focusses on the whole application, sort of an integration test.
Unit Tests are written from a programmers perspective. They are made to ensure that a particular method (or a unit) of a class performs a set of specific tasks.
Functional Tests are written from the user's perspective. They ensure that the system is functioning as users are expecting it to.
The text was updated successfully, but these errors were encountered:
In terms of testing the Stream, we should create a mock for node-fluent-ffmpeg, and just use that to make sure the correct functions are called. And testing the string converter can be done with the standard unit tests.
API Tests can be done by just pinging the endpoints and verifying they return the right things
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In regards of #93 @torch2424 and I talked about working on tests for this project so we can always be sure everything works as intended even after something else in the system got updated.
We should compile a list of stuff we want to test, I've looked into both unit testing and functional testing in the past, which one would be the most applicable here? From my understanding, unit tests focusses on one function or method and functional testing focusses on the whole application, sort of an integration test.
Through stackoverflow I found this handy summary:
The text was updated successfully, but these errors were encountered: