Track 'Testing' as a metric of Tech Debt
Chad Smith
Working on a medium Angular 8 app where "shipping software" was prioritized over "shipping tested software." Most of the unit tests are either the bare-bones shell cranked out by the CLI or are skipped/commented out.
E - No unit test file exists for that component.
D - Only the CLI-generated spec.ts file exists.
C through A - Each testable method (public with return type) has a test, each HTML element with an ID has a test, etc.
Maximilian Berkmann
That would be interesting and nice to have.
I wonder how that would play out for views/UI modules where the only tests would be E2E ones.