beamer-bridge / beamer

Beamer - Bridging rollups with L1 inherited security
https://beamerbridge.com
MIT License
45 stars 21 forks source link

frontend: Add full test setup and tests #384

Open manuelwedler opened 2 years ago

manuelwedler commented 2 years ago

We don't have any testing at the moment for the frontend. As a bare minimum we should have Unit Tests for all components, modules, etc. We should use Vitest as a framework because it is recommended for Vue 3.

Acceptance Criteria

Should have setup for:

nekhaly commented 2 years ago

I agreed with @weilbith that we will add unit tests for any newly implemented feature in the app, and then gradually add unit tests for already implemented ones. On the other hand, we will check for an e2e testing lib to add to the app as well.

weilbith commented 2 years ago

We have some goodish experience with Cypress for end-to-end tests.

taleldayekh commented 2 years ago

@weilbith Can you split into separate issue.

weilbith commented 2 years ago

@taleldayekh I opened 5 new issues which are all referenced above. Feel free to close this issue.

nekhaly commented 2 years ago

@weilbith I think this issue acts as an epic for issues you have opened, so I think we should add issues to it, and then it will close automatically (not sure about this from Zenhub) when all child issues are closed!