COVID-19 is impacting countless small businesses across Canada, we all face uncertainty. Several colleagues and I asked what we could do to help? After a weekend of non-stop coding we’ve put together #CovidImpact, a FREE Small Business Care Package which features: A curated list of programs to help them through the crisis. Real-time news relevant to Canadian ventures Simulation tool to see how their business may be affected across various scenarios depending on how long COVID-19 drags out for. Together, Canadian businesses will get through this by supporting each other! CovidImpact is built in Vue with Javascript, HTML and CSS files. The project utilizes various Bootstrap-Vue components and newsapi.org to get the latest business news. The app is hosted on S3 and uses serverless functions for a mailchimp newsletter.
We should have some unit tests that ensure we don't break the rendering of core components, or the logic of important user-facing algorithms like our Assessment Analytics.
What needs to be done:
Look into solid unit-testing frameworks for Vue apps, decide on one (maybe the vue-cli and mocha/jest are good enough?)
Decide on a framework, install it, get some basic component-rendering tests up and running
Document how to run the unit tests in the README.md
Create more issues that call for unit tests of other untested components and other more difficult areas to test (for example, our Assessment Analytics algorithm)
Criteria of success:
Unit-test framework/tools installed
Basic component-rendering tests written for 1-2 components
In the README.md, there is a short section outlining how to run the unit tests
Issues created that promote the development of unit tests for other components, pages, and complex logic within those components
Documentation:
As mentioned above, we should certainly add a short section to the README.md about how to run the unit tests once we add them!
Overview:
We should have some unit tests that ensure we don't break the rendering of core components, or the logic of important user-facing algorithms like our Assessment Analytics.
What needs to be done:
README.md
Criteria of success:
README.md
, there is a short section outlining how to run the unit testsDocumentation:
As mentioned above, we should certainly add a short section to the
README.md
about how to run the unit tests once we add them!Stakeholder:
@Aliserag