Generate your own application with End-to-End testing thanks to JHipster.NET

Zenrac
1 min readMay 6, 2021

--

Introduction

When generating your application with JHipster.NET, you can decide to generate some optional Tests :

  • Performance tests with Gatling.
  • Behaviour-driven tests with Cucumber.
  • Angular/React/Vue integration tests with Cypress.

Today we’re going to talk about Cypress, a next generation front end testing tool built for the modern web.

Generate Cypress tests

When generating your application, make sure to select Cypress (by pressing the space bar).

Run your Cypress tests

Once your application is generated, you can optionally add some entities (check this article to get started with entity generation), it will auto-generate the corresponding tests for your entities. Execute cypress using this command :

src/YourApplication/ClientApp/node_modules/.bin/cypress open

Conclusion

Now you should be able to generate End-To-End tests though Cypress thanks to JHipster !

Feel free to contribute to JHipster.NET’s GitHub repository and don’t forget to put a star if you liked it.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response