Skip to content

Ability to see which test suite or even which test file/example/line is covering which line in my code #87

Open
@TylerRick

Description

@TylerRick

It would be nice if those numbers on the right side of my green lines of code let you hover over them to see this information (or a summary of this information that you could click for the details).

For example, hover over the "4" by line 7 of app/controllers/courses_controller.rb and see:

Covered by:
spec/controllers/courses_controller_spec.rb:17: it assigns all courses as @courses
spec/controllers/courses_controller_spec.rb:23: it renders the "foo" template
features/manage_courses.feature:18: Edit an archived course
features/assign_student_to_course.feature:10: Assigning student to an archived course

Would this be possible?

It would be even cooler if you could click on one of the tests listed and it would jump to the corresponding line in the file view for that test file!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions