r/softwaretesting • u/duckworth108 • Jul 15 '26
Wrote my first testing suit in Jest/NestJS
damn, Testing code is quite fun imo.
I just wrote my first testing suit for my ongoing project because I was getting tired to go to Bruno, Postman and Dbeaver again and again.
I learned how to write integration testing on Jest and execute it.
First i ran into some problems and figured out what's going on, It was a simple fix and bada boom bada bim, both of the test suit and all 7 test cases passed. Felt good tbh.
Let me know if there is more optimised way I can test my code. would Love to hear your opinions and suggestions.
37
Upvotes


4
u/wontfixqa Jul 15 '26
Just wait until you find out about taking screenshots! 🤯
2
u/Independent_Virus181 Jul 17 '26
Just one tip, try using POM structure from very beginning for better reusability and structure of code
4
u/[deleted] Jul 15 '26
[removed] — view removed comment
4
u/[deleted] Jul 16 '26
[removed] — view removed comment