I have a simple dotnet spark app and I have tried to break it down into units for testing. A sample unit,
public DataFrame filtermyname(DataFrame df, string name)
{
return df.Filter(“name”==name);
}
Since unit test should not have external dependencies, my organisation is not allowing installing spark in the build servers. Is there a way to test this without installing spark by mocking session?