Loading ...

Unit test Acumatica PXGraph

Hello everybody, today I want to make another description of how to cover with Unit Tests Graphs in Acumatica.  First of all I want to say that Acumatica controllers or as Acumatica names them graphs do not have any way to inject any dependency from interface. In such case it can be useful i...

Stubs Vs Shims Difference

Hello everybody, today I want to mention difference between two kinds of testing. Shim vs Stub.  Take a look at the following code sample: // Stub sample public interface IDependency {     void SomeMethod(); } // Take note that&nb...