DHBW-Experts / dhbw-experts.github.io

Blog
0 stars 0 forks source link

blog/2.4/ #13

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

14: Test - DHBW Experts

Hey Everyone,

https://dhbw-experts.github.io/blog/2.4/

Lukas-Hoernle commented 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 🌵

Ralph-1006 commented 2 years ago

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.

Konti08 commented 2 years ago

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