freedomotic / fd-vue-webapp

A Vue.js web application for Freedomotic Open IoT framework
http://fd-vue-webapp.herokuapp.com/
GNU Affero General Public License v3.0
65 stars 66 forks source link

Setting up a working test environment #119

Open ubaldop opened 6 years ago

ubaldop commented 6 years ago

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

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

honsq90 commented 6 years ago

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 :)

ubaldop commented 6 years ago

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.

1freitas commented 3 years ago

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.

ubaldop commented 3 years ago

Hello @1freitas yes, please!

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

/cc @mcicolella