All Questions
5 questions
1
vote
1
answer
70
views
1
vote
2
answers
84
views
Unit tests for a single JavaScript function
Here is the question: What is the better way to unit test this specific function? Should all the test items be included in one test or is it better to break up the tests so each test is testing for ...
3
votes
1
answer
138
views
Struggling to unit test Angular, was this module the best approach?
As a development team we've recently started to transition from MVC to Angular. None of us have had prior experience with it so a lot of creating the new client was very much trial and error. I've ...
2
votes
0
answers
151
views
Jasmine Unit tests for simple Angular backend interaction
I have a simple Angular application that lists some object requests from a backend, allows the users to click once to edit the item, and then click again to update the object in the backend.
Here's a ...
1
vote
1
answer
908
views
Angular directive test
I'm learning how to write tests in Angular (these are my first tests in general). There are a lot of tutorials out there but each one of them has a different approach. I'm a bit confused if I'm doing ...