Tests¶
These tests are run prior to publishing a release. Most tests involve both command line and http queries.
Initial tests¶
Testing Cmd and Http interfaces¶
Http version¶
Default action (MAKE)
Does the product file exist?
Action: DELETE product file
Now, the product file should not exist
- `link 4 </nutshell/NutShell?instructions=EXISTS&product=201412161845_demo.image.pattern_HEIGHT=200_PATTERN=OCTAGONS_WIDTH=300.png
# Error: something went wrong, return code: 1 # Rerun ‘/usr/local/bin/nutshell’ without arguments for help. >`_
# return value: 8
Action: MAKE product (generate, if nonexistent)
Action: GENERATE (unconditionally)
Parameters in wrong order (generated file has them in order) Generated file has them in order.