-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add file storage for SQLite. Add integration tests. #55
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dcostea this is great work, thank you for tackling this so both the Azure and SQLite implementation are up to par. I added a couple of minor comments.
public void CreateExperimentAsync_Success() | ||
{ | ||
//Arrange | ||
MLLifeCycleManager mlm = new MLLifeCycleManager(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super awesome that you're adding the first tests! For a convention, I think it would be nice if we call the class we are testing either classUnderTest or unitUnderTest, I'll let you decide between those two :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure this is what you meant, I put CreateExperimentAsync_Always_ReturnsNonEmptyGuid and UploadModelAsync_ValidModelPath_UploadSuccess
@@ -4,10 +4,10 @@ namespace MLOps.NET.SQLite | |||
{ | |||
public static class MLLifeCycleManagerExtensions | |||
{ | |||
public static MLLifeCycleManager UseSQLite(this MLLifeCycleManager mLLifeCycleManager) | |||
public static MLLifeCycleManager UseSQLite(this MLLifeCycleManager mLLifeCycleManager, string destrinationFolder) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public static MLLifeCycleManager UseSQLite(this MLLifeCycleManager mLLifeCycleManager, string destrinationFolder) | |
public static MLLifeCycleManager UseSQLite(this MLLifeCycleManager mLLifeCycleManager, string destrinationFolder = "C:\MLOps") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Resolves
#34 #51
Description
I have added two integration tests (one for creating an experiment in sqlite db and another one for uploading a model file)