kai-oswald / ASE

URL Shortener built with NodeJS
http://localhost:8001
MIT License
3 stars 0 forks source link

Unit Tests #64

Closed TrAnn3l closed 7 years ago

TrAnn3l commented 7 years ago

We need 10 Unit-tests.

DTobii commented 7 years ago

Some proposals:

Validate URL:

-> @TrAnn3l

CheckLongLink:

-> @DTobii

Create:

-> @kai-oswald

linkByShort:

-> @Hurba

CheckShortLink

-> @mlechler

TrAnn3l commented 7 years ago

Ihr müsst mocha noch in eurer VM oder lokal global installieren.

Wenn auf VM

vagrant ssh sudo npm install mocha -g

Wenn lokal

npm install mocha -g

TrAnn3l commented 7 years ago

Da es Probleme mit dem testen der Middleware gibt, sollten wir vielleicht unsere Testfälle überarbeiten.

NICHT-PREMIUM

PREMIUM

GGF erweitern

DTobii commented 7 years ago

node-mocks-http muss auch im vagrant noch installiert werden.

kai-oswald commented 7 years ago

Hab andere Testfälle bearbeitet 👻

DTobii commented 7 years ago

Currently @kai-oswald , @mlechler and my tests are merged into master. @TrAnn3l and @Hurba can you merge your tests too? Or do you need some help at the tests?