Skip to content

Objc : Unable to locate test source file ****.swift #242

@egr-ext

Description

@egr-ext

Describe the bug
The sonar report has 0 tests reported but the coverage is ok.

I saw these warnings:

INFO: Processing Surefire report TEST-report.xml
INFO: Unable to locate test source file Tests_GenericViewController.swift
INFO: Unable to locate test source file Tests_GenericViewController.m
INFO: Unable to locate test source file Tests_GenericViewController.swift

But as my project is in Objective C the test file names end with .m not .swift.
So the tool does not find the files.

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