Create positive and negative expansion tests
Optional Parameters:
Positive:
- Test with all optional parameters provided.
- Test with some optional parameters missing.
- Test with all optional parameters missing.
Negative:
- Test with incorrect data types for optional parameters.
Default Values:
Positive:
- Test with default values used.
- Test with some default values overridden.
- Test with all default values overridden.
Negative:
- Pass a mixture of valid and invalid data types for arguments with default values and check if it handles type mismatches appropriately.
Nested Templates:
Positive:
- Create a test case that demonstrates the expansion of a single nested template
- Create a test case that demonstrates the expansion of multiple nested templates
- Test a template that nests another nested template inside itself
Negative:
- Create a test case where a nested template is missing one mandatory parameter, and ensure the outer template handles it correctly.
- Create a test case where a nested template's name is misspelled.
Blank node:
Positive:
- Test with all non-blank parameters provided.
Negative:
- Test by providing blank in nonblank positions
- Test with blank node in predicate position
None nodes:
Positive:
- Test with none in argument to a parameter that is optional.
- Test with none in argument to a parameter that is not optional.
List:
Positive:
- Test with lists containing multiple items using cross,zipmin,zipmax
- Test with both empty lists for cross,zipmin,zipmax.
- Test with one empty list and one not empty for cross,zipmin,zipmax.
- Test with unequal list size for cross,zipmin,zipmax.
Negative:
- Pass invalid typed list
- Pass mixed typed list
Edited by Fariha Hossain