Our workflow is mostly based on the guidelines given at se-education.org/guides.
To submit a PR, follow this guide, but note the following:
Appendix: Coding Standards
Our coding standards are mostly based on those at se-education.org/guides.
npm run lintfrom the project root directory. You can use the
gradlew runfrom the project root. By default, it will run based on the config files in the
gradlew run -Dargs="--since 31/12/2019 --formats java adoc xml"
You can use Vue.js devtools for frontend debugging on Chrome. Here are the steps:
Allow access to file URLs. If you are unable to locate it, copy the link:
chrome://extensions/?id=nhdogjmejiglipccpnnnanhbledajbpdand visit it on your Chrome.
F12or right click and choose
inspectat the report page.
Vueat the navigation bar.
See vue-devtools project home page for more details.
We use Cypress for automated end-to-end front-end testing.
Chromeas the default browser
To run all tests locally, run
If you encountered an invalid browser error, ensure that you have
Chrome installed in the default installation directory. Otherwise, follow the instructions here to create symbolic links so Cypress can locate
Chrome in your system.
To show some content only in the i.e., https://reposense.orgproduction website, add the
tags="production" attribute to the HTML element enclosing the content. Similarly,
tags="dev" will make the content appear only in the i.e., https://reposense.org/RepoSensedev website.
<span tags="production">This will appear in the production website only.</span>
<span tags="dev">This will appear in the dev website only.</span>
This will appear in both sites.