DEV Community

Discussion on: Angular Pipes: Integrated Unit Testing

Collapse
 
anduser96 profile image
Andrei Gatej

Thanks a lot for sharing! Keep it up!

In your experience, is it recommended to have different spec files depending on which type of test you are working on (i.e *.integrated.spec.ts) or to put everything in a single file?

Thank you for your time!

Collapse
 
ahasall profile image
Amadou Sall

Hello Andrei,
Thanks for your kind comment.

I usually don't use *.integrated.spec.ts to make the distinction. I tend to put everything in the same file.
But it doesn't hurt if the file is named mean.pipe.integrated.spec.ts in my opinion.