Skip to content
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

Tests for UWP configuration #27

Open
wilhelmberg opened this issue Feb 28, 2017 · 0 comments
Open

Tests for UWP configuration #27

wilhelmberg opened this issue Feb 28, 2017 · 0 comments
Assignees

Comments

@wilhelmberg
Copy link
Contributor

I spent the better part to the day trying to make existing tests work with an UWP configuration.
Problem being that UWP apps are a completely different kind of breed, eg no console apps and unit test support is not yet the same like for other framework versions.

  • nunit engine is not yet compatible with UWP apps.
    • I did try the NUnit Visual Studio Templates (Github / VS Extension Gallery) that have UWP support.
      Tests did run correctly (as a separate app), but VS didn't recognize any of the nunit specific code highlighting everything as errors.
  • xunit: seems to be the only UWP compatible one at the moment, but syntax is different to nunit which would mean rewriting all tests
  • VS does provide a Unit Test App (Universal Windows) template of its own, but the available methods seem subpar to nunit, e.g. DataSource attribute to feed different data do a test method seems to accept database connections only. Haven't found a way to feed a list of file names like with nunit's TestCaseSource.
    Also different syntax compared to nunit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant