Page MenuHomePhabricator

introduce a script that calulcates coverage of spec test suite
Needs ReviewPublic

Authored by bu5hm4n on Thu, Sep 5, 7:04 AM.

Details

Summary

this script tells you:

  • how many interfaces are inherited by widgets, but not tested.
  • how many interface tests are available but not applied
  • how many interfaces are successfully tested on the widgets

Depends on D9850

Diff Detail

Repository
rEFL core/efl
Branch
master
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 13137
bu5hm4n created this revision.Thu, Sep 5, 7:04 AM
bu5hm4n requested review of this revision.Thu, Sep 5, 7:04 AM
e "./widget_interface_coverage.py", line 4, in <module>
    from ete3 import Tree, TreeStyle, AttrFace, CircleFace, faces, NodeStyle
ModuleNotFoundError: No module named 'ete3'

Also, don't you want to put the file in scripts or src/scripts ?

I want to keep them out there, the scripts folder does contain build related stuff, maybe i can move it at some point, for now i would leave it where it is.

to install ete3: pip install ete3

The src/scripts folder also contains some doc generation scripts. I am not sure we want to pollute even more our root...

Please describe in the script that it depends on ete3 and PyQt5.