rhtyd commented on pull request #320: URL: https://github.com/apache/cloudstack-primate/pull/320#issuecomment-638048003
@DaanHoogland The purpose currently is limited to introduce some unit testing early in the project and add few example test (esp. for core components to act as a quick smoketest that run with Travis for each PR). - we've eslint to do several of the conventions related checks - the way we write a component is pretty standard (we use a single-file-component, where within the component we've html, css and js code) - the link is on the readme for the overall VueJS guide, https://vuejs.org/v2/guide/unit-testing.html (I'll add links and maybe a wiki page with some docs later) - at the moment we don't want developers breaking some core components, so for starters this is largely to guard those components (esp the AutogenView); we'll identify and explore other critical components and write tests for that but the project will still require some manual QA @utchoang can you add a markdown file under `docs` say `docs/test.md` to document how to write a unit test for a component. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
