I am writing some tests using XUnit framework and have to use some external code referenced through a dll.
When I try to step into the method call, helper.GetEntity()
, I get the following window and the execution exits.
[Fact]
public void PassingTest()
{
var datapointJson = File.ReadAllText(@"sample.json");
dynamic datapointObject = JsonConvert.DeserializeObject(datapointJson);
// This is referenced from a different project in the same solution.
var helper = new Helper.Actions();
var studentEntity = helper.GetEntity("tom");
}
Does anyone know why this is happening?