pypi jsnapy 1.1.0
JSNAPy 1.1.0 release

latest releases: 1.3.8, 1.3.7, 1.3.6...
7 years ago

Feature addition:

  • ignore-null attribute support via #170

    • Set it to True if you want to skip tests where nodes are not present in any of the specified xpaths in test.
    • refer example 5 and 6

    Sample Output
    sample output

  • stored snapshots can be used with snapcheck using --local option #172
    Example:

    jsnapy --snapcheck STORED -f config.yml --local
    Where STORED might have already been used by snap function to fetch snapshots

    jsnapy --snap STORED -f config.yml

  • Operators for chained tests #178
    Now user can use AND, OR and NOT operators to chain their test cases. Final result will be decided depending on the mathematical calculation based on operators used. For more details refer: PR or wiki

  • Docker image for JSNAPy

Feature enhancements:

  • Added test based mail support #149
    Depending on test results user can decide on which condition of overall test result mail to be sent.

      mail:
         pass: <filename>
         fail: <filename>
         all: <filename>
  • User defined path for jsnapy.cfg

    • The default location for jsnapy.cfg and logging.yml is /etc/jsnapy. User can change the default lookup location for jsnapy.cfg by setting JSNAPY_HOME environment variable.
    • Alternatively, one can keep custom jsnapy.cfg and logging.yml at ~/.jsnapy also.
    • Lookup order followed is: JSNAPY_HOME -> ~/.jsnapy -> /etc/jsnapy
    • Location of all the other custom configuration files parked at /etc/jsnapy can now be specified at the installation time. Doing so will modify the jsnapy.cfg file at /etc/jsnapy
    • Added option for the user to specify the default directory for snapshots, testfiles and custom configuration file directories during installation
    • Installation via pip:
      sudo pip install jsnapy --install-option="--install-data=~/Desktop/test_inst"

    Note User still need to use sudo to do the installation as we still create different config file at /etc/jsnapy

Bug fixes:

  • Unable to use device with '-' in name -- Fix #158
  • Slow printing and high cpu utilization -- Fix #143 and #157
  • Groups should be able to have overlap and not run the test twice on the same IP #126 via #169
  • Command line port parameter ignored if host/credentials specified in config file #136 via #169
  • Unable to define multiple devices in the config file #138 via #169
  • got error if the xpath return nothing #139 via #170
  • snapcheck support for stored snapshots #132 via #172
  • The location of /etc/jsnapy/ should be user-configurable

Don't miss a new jsnapy release

NewReleases is sending notifications on new releases.