flojoy-ai / studio

Joyful visual programming for Python

Home Page:https://docs.flojoy.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Investigate codecov accuracy

jackparmer opened this issue · comments

codecov says we have 70% test coverage, which seems crazy since we only have a few cypress tests?

can you please check for accuracy and configure codecov as needed @Lans1975 ?

image

(@Lans1975 you should have codecov access automatically by belonging to flojoy's github org - just sign up for codecov and the flojoy studio repo should appear)

This is likely because something is wrong with the Python part, I haven't had a chance to take a deeper look, but the Python report does seem a little sketchy

@Jin1L @youngsun4786 please write up what you've learned so far here

@Jin1L @youngsun4786 please write up what you've learned so far here

@jackparmer The CodeCov test coverages currently displayed on github are solely based on python tests and jest tests that comprise the TS components.

We figured out how to process test coverages for cypress tests. Once we incorporate these results into github action, they will be reflected.
Screenshot 2023-06-25 at 8 19 56 PM

By switching from jest tests to reflect.run and cypress tests, we aim to increase the test coverage accuracy substantially.