Skip to content

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

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;
	}

}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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