All Questions
3 questions
1
vote
1
answer
66
views
Creating a real unit test in Karma for Angular code [closed]
This is a piece of test code made for the Angular application.
The router object is a mock provided by the RouterTestingModule dependency. I wonder if such a test can be considered a unit test (...
6
votes
1
answer
179
views
Support static typing / analysis with dependency injection
I am working on creating a test library, and I found DI to be pretty convenient, maybe even to create more functional coding patterns.
Normally we can have an awkward before-hook setup in Node.js ...
1
vote
2
answers
423
views
Function for getting strings consisting of random characters
I've made this function for to be used while testing.
...