Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. Technical Discussion
  3. I forgot how tedious it is to chase code coverage when writing tests.

I forgot how tedious it is to chase code coverage when writing tests.

Scheduled Pinned Locked Moved Technical Discussion
fedidevactivitypubgoactivitypubnlnet
2 Posts 2 Posters 6 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mariusor@metalhead.clubM This user is from outside of this forum
    mariusor@metalhead.clubM This user is from outside of this forum
    mariusor@metalhead.club
    wrote on last edited by
    #1

    I forgot how tedious it is to chase code coverage when writing tests.

    However this was part of the reason that made me include the "boring" parts of building a robust library into the goals set for the #nlnet grant.

    So after a couple of days of work I finally got the first of the storage backends for the #GoActivityPub library go past 80% test coverage.

    I hope I can reuse some of the test logic in the other backends, as they need to perform identically.

    #go #ActivityPub #fedidev

    steveclough@metalhead.clubS 1 Reply Last reply
    1
    • mariusor@metalhead.clubM mariusor@metalhead.club

      I forgot how tedious it is to chase code coverage when writing tests.

      However this was part of the reason that made me include the "boring" parts of building a robust library into the goals set for the #nlnet grant.

      So after a couple of days of work I finally got the first of the storage backends for the #GoActivityPub library go past 80% test coverage.

      I hope I can reuse some of the test logic in the other backends, as they need to perform identically.

      #go #ActivityPub #fedidev

      steveclough@metalhead.clubS This user is from outside of this forum
      steveclough@metalhead.clubS This user is from outside of this forum
      steveclough@metalhead.club
      wrote on last edited by
      #2

      @mariusor I agree that finding those last percents of coverage can be a pain.

      But yes, more so trying to get a full app coverage up is hard and unsatisfactory work.

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups