Skip to content

Python tests does not count over make cover #55

Open
@alanjds

Description

@alanjds

google#383 opened by @alanjds on Nov 3, 2017

History:

As said in the discussion starting on google#243 (comment), the Python tests does not count over make cover report.

Personally, this hinders the development speed by forcing people to write tests twice: one for Python (what we want working) and one for Golang (what we need to count on make cover).

The hypothesis is: Lowering the work needed to push code, more code will be pushed by more people.

Lets fix it to speed up the development!

Plan:

  • Change grumpc to be able to produce module_test.go output from Python test files
  • Make the make test to produce module_test.go files from grumpy/testing/*.py files
  • Make the produced module_test.go files to be in such place that counts for coverage
  • Write a change in a runtime .go file. Write a test the for the change in a .py
  • Check that make cover counts the .py covering the .go changed

Metadata

Metadata

Assignees

No one assigned

    Labels

    importedImported from google/grumpy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions