-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve tests #44
Milestone
Comments
Think the easiest way to go about this is to assign tests for functions we've written. I'll start with these five:
|
I'll take
|
#77 StatsBomb dataset added to testdata folder which can now be used for tests |
Functions to be tested:
|
harshkrishna17
added a commit
that referenced
this issue
Jun 26, 2022
abhiamishra
added a commit
that referenced
this issue
Jul 10, 2022
Duplicated testing for xT threat function on EPV function. Included 4 tests: - Opta type - Statsbomb type - Empty dataframe - Dataframe with missing columns Works on Issue #44
abhiamishra
added a commit
that referenced
this issue
Jul 10, 2022
Went through all the arguments and did testing on whether those arguments resulted in a ggplot plot object. Works on Issue #44
abhiamishra
added a commit
that referenced
this issue
Jul 11, 2022
Fixed pass flow tests by going through all the arguments in the function. Added SampleSBData to the website as well Works on Issue #44
This was referenced Jul 11, 2022
Merged
abhiamishra
added a commit
that referenced
this issue
Jul 12, 2022
All tests are done 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Lots of them right now are very barebones
is this a ggplot2 object
type tests...Look at codecov: https://codecov.io/gh/abhiamishra/ggshakeR/tree/767fd3a877154aab030afa0c49be599596d42ce0/R
and start doing more to fill out tests for ALL configurations of arguments
as well as doing more tests to check for the error messages that we've started adding into the function for 'clear and obvious' errors that users might make like forgetting certain cols or an entire df
The text was updated successfully, but these errors were encountered: