Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Tests for UWP configuration

Aperta
#27 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@wilhelmberg ci sta già lavorando.

Dal 28/2/2017.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.
Lingua principale
C#
Stelle
64
Fork
38
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mapbox/vector-tile-cs

Tutte le issue di mapbox/vector-tile-cs

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.