rifflearning / zenhub

This is the master repository for the Riff Projects in our ZenHub Workspace
0 stars 0 forks source link

SPIKE: Strategy for full test coverage on Riff EDU #181

Open adonahue opened 5 years ago

adonahue commented 5 years ago

We have a business goals to have a commercial version of Riff EDU available in March 2020. A commercial product must - among other things - be scale-able and maintainable, and so reaching 70 -80% unit test coverage for the EDU product is a pre-requisite for commercialization.

The goal of test coverage is to be able to introduce changes to Riff EDU and reduce the likelihood (with high confidence) that we have not introduced new bugs.

Practices vary in terms of when a test suite should be run, if it's automated as part of a build, etc. Part of the spike should be to propose a strategy that makes sense for the Riff team.

Test coverage should be for all aspects of the product code:

Written Spike Findings: https://docs.google.com/document/d/1y6hIj0eI-rmKopz5BxnHtuuoyjEkjf3KYPCTDS4_UV0/edit#heading=h.85kslhepv6

Story Acceptance Criteria A short, written recommendation to be shared and discussed with the team that takes into account the following:

jaedoucette commented 5 years ago

Something that was not fully clear to us:

100% coverage is probably not the desired goal (that quality is used only for NASA-grade software).

We think the goal is "get all the old mattermost tests working and passing again, and add new tests for all the new code written by Riff".

Also not clear to us what the reversion / version control criteria is about. We think we already have that capability, and the branching capability.

jaedoucette commented 5 years ago

Notes from sprint planning:

-> 70-80% coverage goal -> Need a building plan to, for all the repos.

adonahue commented 4 years ago

@jaedoucette @jordanreedie @mlippert @brecriffs - this document is super-helpful, thank you! I put a bunch of comments and questions in the doc, please take a look. @ebporter - please review and comment as well, asap. I think we should probably plan to meet later next week to through more of the details on how to approach this work.

jaedoucette commented 4 years ago

@adonahue Sorry, forgot to attach this to the card too! The document is here:

https://docs.google.com/document/d/1y6hIj0eI-rmKopz5BxnHtuuoyjEkjf3KYPCTDS4_UV0/edit?usp=sharing

juliariffgit commented 4 years ago

@adonahue, Can this one move to the completed column?

adonahue commented 4 years ago

@juliariffgit - added this to "last sprint" since that's when the work was completed, but move it to "this sprint" if you prefer to have it there.

juliariffgit commented 4 years ago

@adonahue, "previous sprints" is perfect for this. Thanks!