Closed soen closed 7 years ago
Currently, the core API does not contain any unit tests. This needs to be added.
In terms of unit testing the ContentSearch API specific parts, this can be helpful: https://gist.github.com/aquasonic/ac99844e1771ab3cce80
With respect to keeping the unit tests DRY: http://megakemp.com/2011/12/15/keep-your-unit-tests-dry-with-autofixture-customizations/
Note: Create a unit test for each line in MemberData needs to support serialization, otherwise it won't work: https://github.com/xunit/xunit/issues/429
Currently, the core API does not contain any unit tests. This needs to be added.
In terms of unit testing the ContentSearch API specific parts, this can be helpful: https://gist.github.com/aquasonic/ac99844e1771ab3cce80
With respect to keeping the unit tests DRY: http://megakemp.com/2011/12/15/keep-your-unit-tests-dry-with-autofixture-customizations/
Note: Create a unit test for each line in MemberData needs to support serialization, otherwise it won't work: https://github.com/xunit/xunit/issues/429