Skip to content

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

tests for C# code #121

wants to merge 4 commits into from

Conversation

titusfortner
Copy link
Collaborator

@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.

@titusfortner titusfortner added the dotnet .NET Bindings label Jan 7, 2020
@titusfortner titusfortner requested a review from nadvolod January 7, 2020 23:57
@nadvolod
Copy link
Contributor

Codacy Here is an overview of what got changed by this pull request:

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";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

public void MergesCapabilitiesFromDictionary()
{
//I don't think this is a use case with .NET bindings
//var capabilities = new Dictionary<string, object>();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}

[TestMethod]
public void ParsesCapabilitiesFromW3CValues()
Copy link
Contributor

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?

Base automatically changed from master to main March 15, 2021 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dotnet .NET Bindings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants