Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Better unit test coverage #105

Open
4 tasks
Mierdin opened this issue Sep 30, 2016 · 0 comments
Open
4 tasks

Better unit test coverage #105

Mierdin opened this issue Sep 30, 2016 · 0 comments
Labels
testing ToDD Rebuild Tasks related to the effort to rebuild ToDD the right way

Comments

@Mierdin
Copy link
Member

Mierdin commented Sep 30, 2016

  • Automated coverage testing
  • at least 80% unit test coverage (do api/server and etcddb first)
  • automated integration testing
  • Don't forget testlet projects!

There were two continue statements added in PR #2 and I was wondering if some existing functionality would change with this addition. This is a great indicator that this layer is in need of unit testing!

In PR https://github.com/Mierdin/todd/pull/2 I was worried that a change to api/server/groups.go (specifically Groups () and ListObjects()) would break something I was doing to return an empty slice instead of a nil slice, to keep the API more consistent. This indicates to me that this is a prime target for unit testing.

@Mierdin Mierdin added this to the Alpha Release milestone Sep 30, 2016
@Mierdin Mierdin changed the title Bigger, Better Testing! Better unit test coverage Dec 7, 2018
@Mierdin Mierdin removed this from the Alpha Release milestone Dec 7, 2018
@Mierdin Mierdin added the ToDD Rebuild Tasks related to the effort to rebuild ToDD the right way label Dec 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
testing ToDD Rebuild Tasks related to the effort to rebuild ToDD the right way
Projects
None yet
Development

No branches or pull requests

1 participant