fd-vue-webapp icon indicating copy to clipboard operation
fd-vue-webapp copied to clipboard

Setting up a working test environment

Open ubaldop opened this issue 5 years ago • 4 comments

Currently, this Vue application does not implement testing activities properly. It would be very helpful in defining a valid testing pipeline for:

  • Vue components
  • Integration
  • Snapshots

Once introduced and set up properly, we can start to improve the testing coverage of the project.

ubaldop avatar Jul 23 '18 09:07 ubaldop

hello! I'm happy to help out on this.

I've checked out the code so far and it seems like it's using Karma + Nightwatch/Selenium, and there's not that many tests at the moment. While the test suite is still small, this might be a good time to move over to Jest + TestCafe, which I'm more than happy to spend my time on.

How's that sound? Let me know if there's issues with that approach :)

honsq90 avatar Oct 01 '18 06:10 honsq90

Hi @honsq90 it sounds definitely good. Indeed I'd like to give a try to Jest, also because it would be useful to introduce some snapshot tests also. So, please, go ahead with your proposal because it sounds viable.

ubaldop avatar Oct 01 '18 07:10 ubaldop

Hello @P3trur0, Can I help for the integration tests?

You need that is tests written in only JEST, or it possible other resource? Because I had more experience in Cypress, it's powerfull tool and simple to use.

1freitas avatar Oct 13 '21 03:10 1freitas

Hello @1freitas yes, please!

However, we'd like to stay with Jest, if possible.

/cc @mcicolella

ubaldop avatar Oct 13 '21 07:10 ubaldop