-
Notifications
You must be signed in to change notification settings - Fork 16
tests for C# code #121
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
base: main
Are you sure you want to change the base?
tests for C# code #121
Conversation
Issues
======
- Added 2
Complexity increasing per file
==============================
- dotnet/SimpleSauce.Test/SauceOptionsTests.cs 11
Clones added
============
- dotnet/SimpleSauce.Test/SauceOptionsTests.cs 4
See the complete overview on Codacy |
* A good way for the user to avoid having to know which PlatformName needs to | ||
* go with which BrowserVersion. I really like that protection and that API. | ||
* However, I'm cool with simplifying the API and allowing | ||
* SauceOptions.BrowserVersion = "68"; |
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.
Issue found: Remove this commented out code.
public void MergesCapabilitiesFromDictionary() | ||
{ | ||
//I don't think this is a use case with .NET bindings | ||
//var capabilities = new Dictionary<string, object>(); |
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.
Issue found: Remove this commented out code.
} | ||
|
||
[TestMethod] | ||
public void ParsesCapabilitiesFromW3CValues() |
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.
@titusfortner I'm not sure what this test is supposed to be doing? Seems like it's missing some steps?
@nadvolod please help me update this with the user facing API you want to see for these things.
This is the C# equivalent of the tests in the other bindings. I'm totally cool if we want to have the implementation look different for C# (withs, fluent, enums, whatever); I'm much pickier about the Java code, but this the feature set for options that I'd like to see before beta release.
Let me what you want to see here so I can help with the implementation of it.