Open utterances-bot opened 2 years ago
Dear team DHBW-experts, your test scenarios look good. can you give me some insight into automatic test-generation? API-Tests are a good choice. They are not just important tests but also suit your project well. How are you measuring code coverage if there are tests that exist but are not properly implemented yet? Otherwise your blog looks great. You did a good job. Best Regards Team LectureFeed 🌵
Hi @Lukas-Hoernle ,
the auto-generated tests come from the Angular CLI. Every component comes with one standard test, which checks if the component is successfully generated. We can measure code coverage by running the ng test --no-watch --code-coverage
command.
Hi DHBW-experts,
first of all your test scenarios look very extensive. I like that you use the existing testing framework of angular as it most likely lead to less errors 😉. I hope that your idea with the stub works and you will resolve all failed tests. I agree with Lukas that diagramm showing the code coverage would be nice, but that might be only then usefull when all tests succeed. But overall nice work 👍!
Best regards Team PiXS
14: Test - DHBW Experts
Hey Everyone,
https://dhbw-experts.github.io/blog/2.4/