Skip to content

Results Not Available For Classes That Have Only async Methods #532

@slagesse-epic

Description

@slagesse-epic

If all methods in a class are async, then FCC does not seem to detect the class at all or include coverage information for that class in the output.

If any method of the class is not async, then FCC does detect the class and include coverage in the output, including for any async methods that might be in the class.

For example, FCC does not seem to properly report coverage when testing the following class:

public class AsyncCalc
{

	public static async Task<int> Add(int a, int b)
	{
		return a + b;
	}

	public static async Task<int> Subtract(int a, int b)
	{
		return a - b;
	}

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions