gunadarma-academy / asde-michi

Michi Team, including Arlin app, for ASDE course (created by Classroom for GitHub)
http://arlin.link
Other
2 stars 4 forks source link

Test backend app with Mocha and Chai #54

Closed mhaidarhanif closed 8 years ago

mhaidarhanif commented 8 years ago

The backend app that is now using Vue.js needs to be unit/functionally tested with selected test suite. Presumably JSHint, Mocha, and Chai.

Tasks

The test scripts can be run with npm test. The report (can be in various format) is then generated each time it's run. If tried and possible, automate this with CI/CD (refer to https://github.com/gunadarma-academy/asde-michi/issues/48).

Dependencies

Progressed along with Streamline testing suite for backend and frontend (https://github.com/gunadarma-academy/asde-michi/issues/48) and Implement backend based on the new designated API and data (https://github.com/gunadarma-academy/asde-michi/issues/49).

References

Should work and passes all tests in order to make it a quality project.