I'll do a full post in a few days .. but I have been knee deep into analyzing a moderately-large sized SPA (14,000 file lines so far) using karma code coverage. See https://github.com/karma-runner/karma-coverage
My colleague Eric Nograles set it up and I have become obsessed and fascinated.
I don't think you'd find it strange that bug reports (the system is still under development) come mainly from areas with poor unit testing.
TDD is possible, almost preferable with a large Angular app. I suggest you take and look, and stay tuned for my in-depth look.
No comments:
Post a Comment