You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OK, so following up on the discussion on the gitter channel, I'd like to write a test that checks if the duplication of inventory records is correct. Mainly: if the inventory lines are copied over from the source, to the candidate destination record.
First thing: this is an integration test, not a unit test right?
The text was updated successfully, but these errors were encountered:
this is two tests: a unit test and an integration test
for the unit test, you have to create tests for the getAssociatedProducts function. When a new inventory module is created this function is called to get the products to show. If it is coming from another module this function will retrieve them. So, you have to create unit tests that will send in all the different possibilities for the parameters and validate the response is what is expected.
That will mostly prove that the duplicate will work, but to be totally sure you would have to create an integration test that actually clicked on the duplicate button and validated the output in the browser
OK, so following up on the discussion on the gitter channel, I'd like to write a test that checks if the duplication of inventory records is correct. Mainly: if the inventory lines are copied over from the source, to the candidate destination record.
First thing: this is an integration test, not a unit test right?
The text was updated successfully, but these errors were encountered: