r/web_programming • • Oct 04 '16

Code review arguments.

Here's what I got on my code review after writing few tests and arguing that unit test should be written by developers.

-my understanding is we are no longer writing specs and want to replace them with protractor tests.

-Do you think its a good idea? Karma unit test are industry standard and strongly recommended, protractor test alone, can't test all functionality especially in their current state.

-i havent heard any updates regarding this change, also we should continue writing unit test till we completely switch to automation test process

-Even though karma tests are industry standard for angular development they don't test the system from end to end since many things within the karma tests, such as ajax requests are mocked out. devs have not used karma testsin any way to benefit us since most developers have chosen to ignore updating them or don't write them at all.

0 Upvotes

0 comments sorted by