#Unit Testing

11 messages · Page 1 of 1 (latest)

lusty gyro
#

Hi guys, What Unit Testing Frameworks Do You Recommend ?

rose osprey
#

Hi, if you are running on the Angular CLI stick to Jasmine/Karma. If you have Nx, it will be Jest. If you want to try out new stuff, you can use Analog which provides Vitest.

sand reef
#

For those outside Angular looking to migrate off Karma, both Web Test Runner and jasmine-browser-runner provide browser-based unit testing solutions which can be used as a direct alternative. Jest and Vitest also provide Node-based alternatives.

#

Critical security issues in Karma will still be triaged and fixed as necessary. This will continue until 12 months after Angular CLI's Web Test Runner support is marked stable.

wispy horizon
sand reef
#

Apples and oranges tho

#

This thread is about unit testing.

sour panther
#

Cypress is only to E2E Testing
Currently to Unit Test , jest is the more use and stanrd nowdays

lusty gyro
sour panther
#

Yes Its good option , I recommend you use a jest angular preset or preconfigured with Nx in monorepository