A concise guide to writing a smoke test suite for Angular applications using TestBed. It covers loading the full AppModule without modification to create near end-to-end integrated tests, including two test cases: verifying the app boots without errors and verifying navigation to a route works correctly. Also touches on

4m read timeFrom playfulprogramming.com
Post cover image
Table of contents
Application smoke test setup Copy link Link copied!Verifying that the application can boot Copy link Link copied!Verifying that navigation works Copy link Link copied!Conclusion Copy link Link copied!

Sort: