Skip to content

Commit

Permalink
doc: add instructions about how to run tests in README
Browse files Browse the repository at this point in the history
  • Loading branch information
manolo committed May 28, 2024
1 parent a45f278 commit 81fd1a0
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,25 @@ This project demonstrates how to use [Vaadin Flow](https://vaadin.com/flow) and


## Running the Application
There are two ways to run the application : using `mvn spring-boot:run` or by running the `Application` class directly from your IDE.
There are two ways to run the application : using `mvn` or by running the `Application` class directly from your IDE.


## Running Tests
You can run both: Flow and Hilla tests by executing:

```
mvn verify -Pit,production
```

For running tests in headed mode run:

```
mvn verify -Pit,production -Dheadless=false
```


If you prefer run only Hilla tests, just execute:

```
npm test
```

0 comments on commit 81fd1a0

Please sign in to comment.